New install can't update.

This forum is for all other ARMv5 devices

New install can't update.

Postby Raymondday » Wed May 30, 2012 3:53 pm

Just installed Archlinux on a 320GB drive that can plug in the SATA port. I waited so long because I was not sure what I all ready had on that 320GB drive. But it was just a new Linux install.

So I did what it says to install Archlinux and it worked good. But trying to do a pacman -U don't look like it works. Here is some text of it:

$this->bbcode_second_pass_code('', '[root@alarm ~]# pacman -Syuf
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n]

resolving dependencies...
looking for inter-conflicts...

Targets (13): bash-4.2.028-1 coreutils-8.17-1 curl-7.26.0-1 gcc-libs-4.7.0-6
glib2-2.32.3-1 glibc-2.15-10 gmp-5.0.5-1 hwids-20120512-1
kmod-8-2 libssh2-1.4.2-1 openssl-1.0.1.c-1 udev-182-4
pacman-4.0.3-1

Total Installed Size: 83.98 MiB
Net Upgrade Size: 2.04 MiB

Proceed with installation? [Y/n]
(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)
hwids: /usr/share/hwdata/pci.ids exists in filesystem
hwids: /usr/share/hwdata/usb.ids exists in filesystem
Errors occurred, no packages were upgraded.
[root@alarm ~]# pacman -U pacman
loading packages...
error: 'pacman': could not find or read package
[root@alarm ~]# pacman -U pacman-4.0.3-1
loading packages...
error: 'pacman-4.0.3-1': could not find or read package
[root@alarm ~]#')

I don't get what is wrong.

All I want to do is get samba working on this one.

I guess it's just some command I have to type?

-Raymond Day
Raymondday
 
Posts: 77
Joined: Sat Nov 19, 2011 1:46 pm

Re: New install can't update.

Postby pepedog » Wed May 30, 2012 4:11 pm

Try
pacman -Syyu
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: New install can't update.

Postby WarheadsSE » Wed May 30, 2012 4:32 pm

I'd check the manual on pacman's -U option.

In the mean time, if you are not fully concerned, a simple -Syuf will force it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: New install can't update.

Postby TomC » Sat Jun 02, 2012 1:52 am

I'm running into the same problem on my B01. pacman -Syuu gives the same error. pacman -Syuf gives the same error.

Stuck. Is there a way to manually resolve the conflicts?

$this->bbcode_second_pass_code('', ':: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] y
:: udev and udev-oxnas are in conflict. Remove udev-oxnas? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-7
')

I tell pacman to remove the conflicting libraries, but it doesn't do it. Every time I run pacman -Sy, no matter the parameters, I get the same error.
TomC
 
Posts: 7
Joined: Tue Feb 07, 2012 12:22 pm

Re: New install can't update.

Postby hansarsch » Sun Jun 03, 2012 9:48 am

i get the same on a Pogo-B04 I'm currently setting up. forcing the update didn't do the trick either...
hansarsch
 
Posts: 11
Joined: Thu Apr 05, 2012 6:32 am

Re: New install can't update.

Postby pepedog » Sun Jun 03, 2012 9:53 am

Try this
pacman -S udev-oxnas
pacman -Syuf
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: New install can't update.

Postby TomC » Sun Jun 03, 2012 10:19 pm

I was able to solve the problem surprisingly easily.

The problem was that when I ran pacman, it told me that pacman itself should be updated, and asked me if I wanted to abort the current install and do the pacman update. I always answered Yes, and it was during the update of pacman that I was getting the errors.

Finally, I tried answering No (meaning "don't update pacman before updating everything else"), and it was able to do the full system update without a hitch.
TomC
 
Posts: 7
Joined: Tue Feb 07, 2012 12:22 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 0 guests