réjean Posted July 18, 2013 Posted July 18, 2013 Hi all! I want to use Manjaro again but it needs some updating. Unfortunately I cannot sync the db and/or update. I posted the following on the Manjaro forum; I am unable to sync the databases. First I realised that every mirror in /etc/pacman.d/mirrorlist was commented out (?) or in (they all had a # in front of them) so I login in as root then I changed the mirrorlist for France and United States. After that I tried "sudo pacman -Syu" and "sudo pacman -Syyu" but I still get; Code: [select] [root@manjaro rejean]# pacman -Syyu :: Synchronizing package databases... error: failed retrieving file 'basis.db' from manjarolinux.polymorf.fr : The requested URL returned error: 404 Not Found error: failed retrieving file 'basis.db' from repo.manjaro.org.uk : The requested URL returned error: 404 Not Found error: failed retrieving file 'basis.db' from mirror.dacentec.com : The requested URL returned error: 404 Not Found error: failed to update basis (download library error) error: failed retrieving file 'platform.db' from manjarolinux.polymorf.fr : The requested URL returned error: 404 Not Found error: failed retrieving file 'platform.db' from repo.manjaro.org.uk : The requested URL returned error: 404 Not Found ... error: failed retrieving file 'multilib.db' from mirror.dacentec.com : The requested URL returned error: 404 Not Found error: failed to update multilib (download library error) error: failed to synchronize any databases error: failed to init transaction (download library error) [root@manjaro rejean]# any suggestion? after that I went back into /etc/pacman.d/mirrorlist and uncommented all the servers with the same effect. Someone suggested I need another " pacman.conf" and "pacman-mirros.conf" but I have forgotten how to go about achieving that. Any help would be appreciated! Thanks! Quote
securitybreach Posted July 18, 2013 Posted July 18, 2013 Well you need an updated /etc/pacman.d/mirrorlist but I am not for sure how to generate one for Manjaro. If it were Archlinux, you could simply follow this: https://wiki.archlinux.org/index.php/Mirrors but that will break your installation even more. Quote
réjean Posted July 18, 2013 Author Posted July 18, 2013 I am reading that this could be a solution but it doesn't work; [rejean@manjaro ~]$ sudo pacman-mirrors -g [sudo] password for rejean: sudo: pacman-mirrors: command not found [rejean@manjaro ~]$ Quote
securitybreach Posted July 18, 2013 Posted July 18, 2013 Perhaps: http://forum.manjaro...hp?topic=2078.0 I am reading that this could be a solution but it doesn't work; [rejean@manjaro ~]$ sudo pacman-mirrors -g [sudo] password for rejean: sudo: pacman-mirrors: command not found [rejean@manjaro ~]$ pacman-mirrors is an Archlinux command and will not work on Manjaro. Not an Arch command either. Quote
réjean Posted July 18, 2013 Author Posted July 18, 2013 so now I tried; [root@manjaro rejean]# pacman -S --force pacman-mirrorlist :: The following packages should be upgraded first : manjaro-system pacman :: Do you want to cancel the current operation :: and upgrade these packages now? [Y/n] y resolving dependencies... warning: cannot resolve "linux-api-headers>=3.7", a dependency of "glibc" warning: cannot resolve "linux-api-headers>=3.7", a dependency of "glibc" :: The following packages cannot be upgraded due to unresolvable dependencies: manjaro-system pacman Do you want to skip the above packages for this upgrade? [y/N] y looking for inter-conflicts... there is nothing to do [root@manjaro rejean]# still no go. Quote
securitybreach Posted July 18, 2013 Posted July 18, 2013 Ah this is what you are referring to: http://wiki.manjaro.org/index.php/Rankmirrors_to_Set_the_Fastest_Download_Server Quote
securitybreach Posted July 18, 2013 Posted July 18, 2013 If you /etc/pacman.d/mirrorlist is not correct, then you cannot download any packages from pacman including pacman-mirrorlist. It looks like you are running into the glibc issue from January: https://www.archlinux.org/news/update-filesystem-201301-1-and-glibc-217-2-together/ Quote
réjean Posted July 18, 2013 Author Posted July 18, 2013 Last time I encountered a similar problem I tried reinstalling Manjaro but I still had the same problem. Quote
securitybreach Posted July 18, 2013 Posted July 18, 2013 Well the problem is due to the fact that Manjaro tries to use parts of Archlinux but use their own custom mirrors which have older versions of packages. So you will continue to run into issues as you will have version conflicts and such. It is best to actually install Arch instead of using these Frankenstein versions... Quote
securitybreach Posted July 18, 2013 Posted July 18, 2013 Well I wish I could of helped you but I honestly have no clue about Manjaro. Sorry Quote
abarbarian Posted July 18, 2013 Posted July 18, 2013 You have lines like this showing, error: failed retrieving file 'basis.db' from manjarolinux.polymorf.fr : The requested URL returned error: 404 Not Found I just tried putting this address in FF and it gives a viable site, manjarolinux.polymorf.fr so the site is still active if that helps at all. Quote
abarbarian Posted July 18, 2013 Posted July 18, 2013 Following the link I gave above you breadcrumb trail to here, http://manjarolinux.polymorf.fr/stable/core/i686/ where you can find, pacman-4.1.2-1-i686.pkg.tar.xz 639K 20-Jun-2013 17:26 pacman-4.1.2-1-i686.pkg.tar.xz.sig 287 20-Jun-2013 17:26 pacman-mirrorlist-20130716-1-any.pkg.tar.xz 6660 16-Jul-2013 19:05 pacman-mirrorlist-20130716-1-any.pkg.tar.xz.sig 287 16-Jul-2013 19:05 or here for the 64bit, http://manjarolinux.polymorf.fr/stable/core/x86_64/ where you find, pacman-4.1.2-1-x86_64.pkg.tar.xz 628K 20-Jun-2013 17:26 pacman-4.1.2-1-x86_64.pkg.tar.xz.sig 287 20-Jun-2013 17:26 pacman-mirrorlist-20130716-1-any.pkg.tar.xz 6660 16-Jul-2013 19:05 pacman-mirrorlist-20130716-1-any.pkg.tar.xz.sig 287 16-Jul-2013 19:05 Does that help ? Quote
securitybreach Posted July 18, 2013 Posted July 18, 2013 You could possibly install those files mentioned above but they may not work with Manjaro as it does not use the current version of packages. Quote
abarbarian Posted July 18, 2013 Posted July 18, 2013 You could possibly install those files mentioned above but they may not work with Manjaro as it does not use the current version of packages. All the links above are to Manjaro sites/repositorys so why would they have packages on their sites that do not work ? Quote
securitybreach Posted July 18, 2013 Posted July 18, 2013 All the links above are to Manjaro sites/repositorys so why would they have packages on their sites that do not work ? My bad, I thought you were providing Arch packages.... Quote
réjean Posted July 18, 2013 Author Posted July 18, 2013 I changed the content of /etc/pacman.conf,/etc/pacman-mirrors.conf and /etc/pacman.d/mirrorlist and now I get; [root@manjaro ~]# sudo pacman-mirrors -g sudo: pacman-mirrors: command not found [root@manjaro ~]# sudo pacman -Syyuu warning: config file /etc/pacman.conf, line 35: directive 'Color' in section 'options' not recognized. warning: config file /etc/pacman.conf, line 44: directive 'LocalFileSigLevel' in section 'options' not recognized. warning: database file for 'core' does not exist :: Synchronizing package databases... core 111.7 KiB 340K/s 00:00 [----------------------] 100% extra 1492.7 KiB 587K/s 00:03 [----------------------] 100% community 1979.9 KiB 594K/s 00:03 [----------------------] 100% multilib 107.3 KiB 330K/s 00:00 [----------------------] 100% :: The following packages should be upgraded first : manjaro-system pacman :: Do you want to cancel the current operation :: and upgrade these packages now? [Y/n] y resolving dependencies... looking for inter-conflicts... error: failed to prepare transaction (could not satisfy dependencies) :: kalu: requires pacman<4.1 :: package-query: requires pacman<4.1 [root@manjaro ~]# which is a big step in the right direction imho. Quote
securitybreach Posted July 18, 2013 Posted July 18, 2013 That error is related to this post back in Apr: http://forums.scotsnewsletter.com/index.php?showtopic=61920 Quote
réjean Posted July 18, 2013 Author Posted July 18, 2013 Thanks josh! I'll work on it later this evening because I have to work in the gardens if we want to be ready for the farmer's market this saturday. 1 Quote
securitybreach Posted July 18, 2013 Posted July 18, 2013 Sounds good If you have any issues, I won't be home till later tonight (23:30 cdt) but I will look then. Quote
réjean Posted July 18, 2013 Author Posted July 18, 2013 Well I removed 2 things and it is a lot better but I am not quite there yet; [rejean@manjaro ~]$ sudo pacman -Syyu [sudo] password for rejean: warning: config file /etc/pacman.conf, line 35: directive 'Color' in section 'options' not recognized. warning: config file /etc/pacman.conf, line 44: directive 'LocalFileSigLevel' in section 'options' not recognized. :: Synchronizing package databases... core 111.7 KiB 338K/s 00:00 [----------------------] 100% extra 1492.7 KiB 582K/s 00:03 [----------------------] 100% community 1979.9 KiB 593K/s 00:03 [----------------------] 100% multilib 107.3 KiB 329K/s 00:00 [----------------------] 100% :: The following packages should be upgraded first : manjaro-system pacman :: Do you want to cancel the current operation :: and upgrade these packages now? [Y/n] y resolving dependencies... looking for inter-conflicts... error: failed to prepare transaction (could not satisfy dependencies) :: kalu: requires pacman<4.1 :: package-query: requires pacman<4.1 [rejean@manjaro ~]$ su Password: [root@manjaro rejean]# pacman -Rns package-query warning: config file /etc/pacman.conf, line 35: directive 'Color' in section 'options' not recognized. warning: config file /etc/pacman.conf, line 44: directive 'LocalFileSigLevel' in section 'options' not recognized. checking dependencies... error: failed to prepare transaction (could not satisfy dependencies) :: yaourt: requires package-query>=1.0 [root@manjaro rejean]# pacman -Rns kalu warning: config file /etc/pacman.conf, line 35: directive 'Color' in section 'options' not recognized. warning: config file /etc/pacman.conf, line 44: directive 'LocalFileSigLevel' in section 'options' not recognized. checking dependencies... Targets (1): kalu-1.3.0-1 Total Removed Size: 0.46 MiB Do you want to remove these packages? [Y/n] y (1/1) removing kalu [----------------------] 100% [root@manjaro rejean]# pacman -Rns package-query warning: config file /etc/pacman.conf, line 35: directive 'Color' in section 'options' not recognized. warning: config file /etc/pacman.conf, line 44: directive 'LocalFileSigLevel' in section 'options' not recognized. checking dependencies... error: failed to prepare transaction (could not satisfy dependencies) :: yaourt: requires package-query>=1.0 [root@manjaro rejean]# pacman -Syu warning: config file /etc/pacman.conf, line 35: directive 'Color' in section 'options' not recognized. warning: config file /etc/pacman.conf, line 44: directive 'LocalFileSigLevel' in section 'options' not recognized. :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date :: The following packages should be upgraded first : manjaro-system pacman :: Do you want to cancel the current operation :: and upgrade these packages now? [Y/n] y resolving dependencies... looking for inter-conflicts... error: failed to prepare transaction (could not satisfy dependencies) :: package-query: requires pacman<4.1 [root@manjaro rejean]# pacman -Rns yaourt warning: config file /etc/pacman.conf, line 35: directive 'Color' in section 'options' not recognized. warning: config file /etc/pacman.conf, line 44: directive 'LocalFileSigLevel' in section 'options' not recognized. checking dependencies... Targets (3): package-query-1.1-1 yajl-2.0.4-1 yaourt-1.2.1-1 Total Removed Size: 0.66 MiB Do you want to remove these packages? [Y/n] y (1/3) removing yaourt [----------------------] 100% (2/3) removing package-query [----------------------] 100% (3/3) removing yajl [----------------------] 100% [root@manjaro rejean]# pacman -Syyu warning: config file /etc/pacman.conf, line 35: directive 'Color' in section 'options' not recognized. warning: config file /etc/pacman.conf, line 44: directive 'LocalFileSigLevel' in section 'options' not recognized. :: Synchronizing package databases... core 111.7 KiB 332K/s 00:00 [----------------------] 100% extra 1492.7 KiB 583K/s 00:03 [----------------------] 100% community 1979.9 KiB 594K/s 00:03 [----------------------] 100% multilib 107.3 KiB 329K/s 00:00 [----------------------] 100% :: The following packages should be upgraded first : manjaro-system pacman :: Do you want to cancel the current operation :: and upgrade these packages now? [Y/n] y resolving dependencies... looking for inter-conflicts... Targets (13): bash-4.2.045-4 filesystem-2013.06-1 glibc-2.17-6 keyboardctl-0.1.5-2 libarchive-3.1.2-1 linux-api-headers-3.8.4-1 mkinitcpio-0.14.0-1 pacman-mirrorlist-20130716-1 pcmciautils-018-7 python-3.3.2-1 util-linux-2.23.1-2 manjaro-system-20130707-3 pacman-4.1.2-1 Total Download Size: 25.63 MiB Total Installed Size: 145.12 MiB Net Upgrade Size: 83.53 MiB Proceed with installation? [Y/n] y :: Retrieving packages from core... linux-api-headers-3... 618.6 KiB 518K/s 00:01 [----------------------] 2% filesystem-2013.06-... 628.0 KiB 483K/s 00:01 [----------------------] 2% glibc-2.17-6-x86_64 8.7 MiB 607K/s 00:15 [----------------------] 33% util-linux-2.23.1-2... 10.4 MiB 606K/s 00:17 [----------------------] 40% bash-4.2.045-4-x86_64 11.1 MiB 604K/s 00:19 [----------------------] 43% libarchive-3.1.2-1-... 11.7 MiB 602K/s 00:20 [----------------------] 45% mkinitcpio-0.14.0-1-any 11.7 MiB 591K/s 00:20 [----------------------] 45% pcmciautils-018-7-x... 11.8 MiB 585K/s 00:21 [----------------------] 45% pacman-mirrorlist-2... 11.8 MiB 583K/s 00:21 [----------------------] 45% pacman-4.1.2-1-x86_64 12.4 MiB 578K/s 00:22 [----------------------] 48% keyboardctl-0.1.5-2-any 12.4 MiB 575K/s 00:22 [----------------------] 48% manjaro-system-2013... 12.4 MiB 573K/s 00:22 [----------------------] 48% :: Retrieving packages from extra... python-3.3.2-1-x86_64 25.6 MiB 596K/s 00:44 [----------------------] 100% (13/13) checking package integrity [----------------------] 100% (13/13) loading package files [----------------------] 100% (13/13) checking for file conflicts [----------------------] 100% error: failed to commit transaction (conflicting files) filesystem: /bin exists in filesystem filesystem: /sbin exists in filesystem filesystem: /usr/sbin exists in filesystem Errors occurred, no packages were upgraded. [root@manjaro rejean]# pacman -Syu warning: config file /etc/pacman.conf, line 35: directive 'Color' in section 'options' not recognized. warning: config file /etc/pacman.conf, line 44: directive 'LocalFileSigLevel' in section 'options' not recognized. :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date :: The following packages should be upgraded first : manjaro-system pacman :: Do you want to cancel the current operation :: and upgrade these packages now? [Y/n] y resolving dependencies... looking for inter-conflicts... Targets (13): bash-4.2.045-4 filesystem-2013.06-1 glibc-2.17-6 keyboardctl-0.1.5-2 libarchive-3.1.2-1 linux-api-headers-3.8.4-1 mkinitcpio-0.14.0-1 pacman-mirrorlist-20130716-1 pcmciautils-018-7 python-3.3.2-1 util-linux-2.23.1-2 manjaro-system-20130707-3 pacman-4.1.2-1 Total Installed Size: 145.12 MiB Net Upgrade Size: 83.53 MiB Proceed with installation? [Y/n] y (13/13) checking package integrity [----------------------] 100% (13/13) loading package files [----------------------] 100% (13/13) checking for file conflicts [----------------------] 100% error: failed to commit transaction (conflicting files) filesystem: /bin exists in filesystem filesystem: /sbin exists in filesystem filesystem: /usr/sbin exists in filesystem Errors occurred, no packages were upgraded. [root@manjaro rejean]# If you or anyone can think of something let me know. Quote
securitybreach Posted July 19, 2013 Posted July 19, 2013 Well I removed 2 things and it is a lot better but I am not quite there yet; error: failed to commit transaction (conflicting files) filesystem: /bin exists in filesystem filesystem: /sbin exists in filesystem filesystem: /usr/sbin exists in filesystem Errors occurred, no packages were upgraded. [root@manjaro rejean]# If you or anyone can think of something let me know. This was covered in my link above. Every machine is different but follow the link I gave above and you should be fine. Quote
securitybreach Posted July 19, 2013 Posted July 19, 2013 The syntax has changed in the pacman 4.1 file so you might want to compare your old config with the /etc/pacman.d/mirrorlist.pacnew. That is why you are getting an error about color: warning: config file /etc/pacman.conf, line 35: directive 'Color' in section 'options' not recognized. This is also an issue with your config file. warning: config file /etc/pacman.conf, line 44: directive 'LocalFileSigLevel' in section 'options' not recognized. The correct syntax is: repo nameSigLevel = Level include = /etc/pacman.d/mirrorlist For example: [core]SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist Here is my /etc/pacman.d/mirrorlist for comparison to help fix your issues: http://ix.io/6Jt Quote
réjean Posted July 19, 2013 Author Posted July 19, 2013 Hi josh! First of all I don't have a "/etc/pacman.d/mirrorlist.pacnew" [rejean@manjaro ~]$ cd /etc/pacman.d/ [rejean@manjaro pacman.d]$ ls gnupg/ mirrorlist mirrorlist.backup mirrorlist.save mirrorlist~ [rejean@manjaro pacman.d]$ and here is my /etc/pacman.d/mirrorlist which I copied and pasted from someone on the other forum; ## ## Manjaro Linux repository mirrorlist ## Generated on 17 July 2013 19:29 ## ## Use pacman-mirrors to modify ## ## Location : Belgium ## Time : 0.107 ## Last Sync : 3:05 Server = http://ftp.belnet.be/manjaro/stable/$repo/$arch ## Location : Denmark ## Time : 0.146 ## Last Sync : 0:55 Server = http://mirrors.dotsrc.org/manjaro/stable/$repo/$arch ## Location : United_Kingdom ## Time : 0.165 ## Last Sync : 0:35 Server = http://repo.manjaro.org.uk/stable/$repo/$arch ## Location : United_Kingdom ## Time : 0.176 ## Last Sync : 1:45 Server = http://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch ## Location : Ireland ## Time : 0.185 ## Last Sync : 1:15 Server = http://ftp.heanet.ie/mirrors/manjaro/stable/$repo/$arch ## Location : France ## Time : 0.221 ## Last Sync : 0:15 Server = http://manjarolinux.polymorf.fr/stable/$repo/$arch ## Location : Sweden ## Time : 0.251 ## Last Sync : 1:25 Server = http://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch ## Location : Russia ## Time : 0.322 ## Last Sync : 0:25 Server = http://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch ## Location : Sweden ## Time : 0.408 ## Last Sync : 3:25 Server = http://mirror.zetup.net/manjaro/stable/$repo/$arch ## Location : United_States ## Time : 0.438 ## Last Sync : 0:35 Server = http://mirror.dacentec.com/manjaro/stable/$repo/$arch ## Location : United_Kingdom ## Time : 0.445 ## Last Sync : 0:35 Server = http://manjaro.mirrors.uk2.net/stable/$repo/$arch ## Location : Bangladesh ## Time : 0.605 ## Last Sync : 0:25 Server = http://mirrors.ispros.com.bd/manjaro/stable/$repo/$arch ## Location : Netherlands ## Time : 0.945 ## Last Sync : 1:35 Server = http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch ## Location : Indonesia ## Time : 1.811 ## Last Sync : 3:55 Server = http://kambing.ui.ac.id/manjaro/stable/$repo/$arch and here is my /etc/pacman.conf; # /etc/pacman.conf # # See the pacman.conf(5) manpage for option and repository directives # # GENERAL OPTIONS # [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / #DBPath = /var/lib/pacman/ #CacheDir = /var/cache/pacman/pkg/ #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ HoldPkg = pacman glibc manjaro-system # If upgrades are available for these packages they will be asked for first SyncFirst = manjaro-system pacman #XferCommand = /usr/bin/curl -C - -f %u > %o #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled #UseDelta = 0.7 Architecture = auto # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg = #IgnoreGroup = #NoUpgrade = #NoExtract = # Misc options #UseSyslog Color TotalDownload CheckSpace #VerbosePkgLists ILoveCandy # By default, pacman accepts packages signed by keys that its local keyring # trusts (see pacman-key and its man page), as well as unsigned packages. SigLevel = Required DatabaseOptional LocalFileSigLevel = Optional #RemoteFileSigLevel = Required # NOTE: You must run `pacman-key --init` before first using pacman; the local # keyring can then be populated with the keys of all official Arch Linux # packagers with `pacman-key --populate archlinux`. # # REPOSITORIES # - can be defined here or included from another file # - pacman will search repositories in the order defined here # - local/custom mirrors can be added here or in separate files # - repositories listed first will take precedence when packages # have identical names, regardless of version number # - URLs will have $repo replaced by the name of the current repo # - URLs will have $arch replaced by the name of the architecture # # Repository entries are of the format: # [repo-name] # Server = ServerName # Include = IncludePath # # The header [repo-name] is crucial - it must be present and # uncommented to enable the repo. # [core] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [extra] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [community] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist # If you want to run 32 bit applications on your x86_64 system, # enable the multilib repositories as required here. [multilib] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. #[custom] #SigLevel = Optional TrustAll #Server = file:///home/custompkgs I'll make the changes you suggested later when I have time. We are spending the day harvesting produces for tomorrow's farmer's market. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.