toca180
Posts: 16
Joined: Sat Jul 07, 2012 5:34 pm
Location: Kent, England

Problems with pacman -Syu

Sat Sep 08, 2012 7:36 pm

Hi

I am trying to update my Arch Linux install on my Raspberry Pi by running:

Code: Select all

pacman -Syu
I get the following out put:

Code: Select all

:: 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
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (16): avahi-0.6.31-3  dbus-1.6.4-1  gnutls-3.1.1-1  hwids-20120831-1  inetutils-1.9.1-4  less-451-1
              libcups-1.6.1-6  libdaemon-0.14-2  libmysqlclient-5.5.27-4  libpng-1.5.12-1  libtiff-4.0.2-1
              linux-headers-raspberrypi-3.2.27-4  linux-raspberrypi-3.2.27-4  openssh-6.1p1-2
              raspberrypi-firmware-20120904-1  sqlite-3.7.14-1

Total Installed Size:   133.32 MiB
Net Upgrade Size:       7.98 MiB

Proceed with installation? [Y/n] y
(16/16) checking package integrity                                 [#####################################] 100%
(16/16) loading package files                                      [#####################################] 100%
(16/16) checking for file conflicts                                [#####################################] 100%
error: failed to commit transaction (conflicting files)
libcups: /usr/bin/cups-config exists in filesystem
libcups: /usr/include/cups/adminutil.h exists in filesystem
libcups: /usr/include/cups/array.h exists in filesystem
libcups: /usr/include/cups/backend.h exists in filesystem
libcups: /usr/include/cups/cgi.h exists in filesystem
libcups: /usr/include/cups/cups.h exists in filesystem
libcups: /usr/include/cups/dir.h exists in filesystem
libcups: /usr/include/cups/file.h exists in filesystem
libcups: /usr/include/cups/help-index.h exists in filesystem
libcups: /usr/include/cups/http.h exists in filesystem
libcups: /usr/include/cups/ipp.h exists in filesystem
libcups: /usr/include/cups/language.h exists in filesystem
libcups: /usr/include/cups/mime.h exists in filesystem
libcups: /usr/include/cups/ppd.h exists in filesystem
libcups: /usr/include/cups/ppdc.h exists in filesystem
libcups: /usr/include/cups/raster.h exists in filesystem
libcups: /usr/include/cups/sidechannel.h exists in filesystem
libcups: /usr/include/cups/transcode.h exists in filesystem
libcups: /usr/include/cups/versioning.h exists in filesystem
libcups: /usr/lib/libcups.so exists in filesystem
libcups: /usr/lib/libcups.so.2 exists in filesystem
libcups: /usr/lib/libcupscgi.so exists in filesystem
libcups: /usr/lib/libcupscgi.so.1 exists in filesystem
libcups: /usr/lib/libcupsimage.so exists in filesystem
libcups: /usr/lib/libcupsimage.so.2 exists in filesystem
libcups: /usr/lib/libcupsmime.so exists in filesystem
libcups: /usr/lib/libcupsmime.so.1 exists in filesystem
libcups: /usr/lib/libcupsppdc.so exists in filesystem
libcups: /usr/lib/libcupsppdc.so.1 exists in filesystem
libcups: /usr/share/man/man5/client.conf.5.gz exists in filesystem
Errors occurred, no packages were upgraded.
How can I over come this? Is is safe to just remove these?

Thanks
Robert

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Problems with pacman -Syu

Sat Sep 08, 2012 8:45 pm

Just see who owns some of those files
pacman -Qo /path/to/file
Possibly you can pacman -Sf libcups before upgrading

toca180
Posts: 16
Joined: Sat Jul 07, 2012 5:34 pm
Location: Kent, England

Re: Problems with pacman -Syu

Sun Sep 09, 2012 9:55 am

Hi

Thanks for the replay. I always thought that using f (force) was a bad thing?

I tried a random few of those files and found that no package owned the. So I renamed them and then did the update. It went throught ok but I got the following out put at the end:

Code: Select all

(6/6) upgrading libcups                            [######################] 100%
ldconfig: /usr/lib/libcupsmime.so.1 is not a symbolic link

ldconfig: /usr/lib/libcups.so.2 is not a symbolic link

ldconfig: /usr/lib/libcupsppdc.so.1 is not a symbolic link

ldconfig: /usr/lib/libcupsimage.so.2 is not a symbolic link

ldconfig: /usr/lib/libcupscgi.so.1 is not a symbolic link
Is this something I should be concerned about? If so, where should they be linked to?

Thanks
Robert

User avatar
mellett68
Posts: 6
Joined: Tue Aug 28, 2012 6:24 pm
Location: Cornwall, UK

Re: Problems with pacman -Syu

Wed Sep 12, 2012 9:06 pm

I assume those are the files you renamed? The package must be expecting them to exist so possibly re-rename them back to their original filenames and try again?

Otherwise you could possibly reinstall the cups package with

Code: Select all

pacman -S libcups

toca180
Posts: 16
Joined: Sat Jul 07, 2012 5:34 pm
Location: Kent, England

Re: Problems with pacman -Syu

Fri Sep 14, 2012 5:26 pm

Hi

Thanks for the reply. pacman -S libcups did not work but deleting the files that I renamed did work. Thanks everyone for the help.

Thanks
Robert

Return to “Arch”