Beginner question : updating pacman

This forum is for discussion about general software issues.

Beginner question : updating pacman

Postby adyer » Sat Jan 11, 2014 9:46 pm

Hello everyone,

I'm new to Linux, and have acquired a gray Pogoplug (E02) a while ago to start experimenting with Arch. I succesfully installed Arch Linux, Samba and Apache without completly understanding what I was doing, but still managed to make it work (barely). I left it untouched for... a year and a half maybe? Now I've got it plugged back in, up and running, and I'd like to continue my experimentations and familiarize myself with Linux. I know Arch is not generally considered noob-friendly, but I'm stubborn like that, and willing to learn.

I figured the first thing to do before messing everything up was to update the packages, but I have encountered several problems in doing that. Many searches through the forum and a lot of googling didn't provide me with the definite and appropriate solution I was looking for, hence this post...

Here's the breakdown of what I've tried so far, following advice gleaned here and there :

$this->bbcode_second_pass_code('', 'pacman -Syu')
$this->bbcode_second_pass_code('', ':: Synchronizing package databases...
core 47.2K 542.8K/s 00:00:00 [###########################] 100%
extra 523.8K 612.2K/s 00:00:01 [###########################] 100%
community 597.2K 600.0K/s 00:00:01 [###########################] 100%
aur 20.6K 347.5K/s 00:00:00 [###########################] 100%
:: 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 (14): linux-api-headers-3.12.4-1 filesystem-2013.05-2 glibc-2.17-5.1
bash-4.2.045-5 lzo2-2.06-3 libarchive-3.1.2-4 pth-2.0.7-4
libksba-1.3.0-1 libassuan-2.1.1-1 pinentry-0.8.3-1 dirmngr-1.1.1-1
gnupg-2.0.22-1 gpgme-1.4.3-1 pacman-4.1.2-5

Total Download Size: 0.00 MB
Total Installed Size: 51.51 MB

Proceed with installation? [Y/n] y
(14/14) checking package integrity [###########################] 100%
(14/14) checking for file conflicts [###########################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /etc/mtab exists in filesystem
filesystem: /etc/profile.d/locale.sh exists in filesystem
filesystem: /lib exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
filesystem: /var/run exists in filesystem
glibc: /usr/bin/tzselect exists in filesystem
Errors occurred, no packages were upgraded.')

Following instructions found in this post lead to worrying results :
$this->bbcode_second_pass_code('', 'pacman -Qo /bin /sbin /usr/bin')
$this->bbcode_second_pass_code('', 'error: cannot determine ownership of directory '/bin'
error: cannot determine ownership of directory '/sbin'
error: cannot determine ownership of directory '/usr/bin'')

Of course, being a beginner and all, I have little to no idea what this actually means for me... and I'm at my wit's end for further solution. Anyone willing to take my hand for a little while and walk me through the process of getting everything up to date and running on my system will deserve my eternal gratitude. Bonus points for explaining what does what so that I can (hopefully) solve further issues by myself in the future!

I'm sorry for the rather wordy post and any mistakes, English is my second language. Thanks in advance for your time!
adyer
 
Posts: 1
Joined: Sat Jan 11, 2014 8:58 pm

Re: Beginner question : updating pacman

Postby WarheadsSE » Sun Jan 12, 2014 5:39 pm

https://wiki.archlinux.org/index.php/Pacman_rosetta

More importantly, https://www.archlinux.org/news/

Read the NEWS.

To be honest, if you are concerned, you can always re-make the rootfs image, (not the entire install process) and start again from that point.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to General

Who is online

Users browsing this forum: No registered users and 8 guests