unable to update system - gcc dependancy error

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

unable to update system - gcc dependancy error

Postby chemuduguntar » Sat Mar 24, 2012 7:02 am

Hello,

I've been trying to update my system for some time, but I am getting the following error.

I have run:

$this->bbcode_second_pass_code('', '
pacman -Scc
')

Before trying to run the following command.

$this->bbcode_second_pass_code('', '
[root@keyboard ~]# pacman -Syyuf
:: Synchronizing package databases...
core 37.7 KiB 482K/s 00:00 [##################################] 100%
extra 418.3 KiB 1860K/s 00:00 [##################################] 100%
community 380.0 KiB 1870K/s 00:00 [##################################] 100%
aur 9.3 KiB 1868K/s 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] Y

resolving dependencies...
looking for inter-conflicts...
:: kmod and module-init-tools are in conflict. Remove module-init-tools? [y/N] Y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-1
')

Is anyone else encountering the same problem?
chemuduguntar
 
Posts: 7
Joined: Sun Aug 07, 2011 2:16 am

Re: unable to update system - gcc dependancy error

Postby kmihelich » Sat Mar 24, 2012 7:08 am

Say no to upgrading pacman first.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: unable to update system - gcc dependancy error

Postby chemuduguntar » Sat Mar 24, 2012 7:12 am

$this->bbcode_second_pass_code('', '[root@keyboard ~]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community 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] n

:: Starting full system upgrade...
:: Replace kernel26 with core/linux? [Y/n] ')

Thanks,

What should I say here? will it break my boot / kernel ?
chemuduguntar
 
Posts: 7
Joined: Sun Aug 07, 2011 2:16 am

Re: unable to update system - gcc dependancy error

Postby kmihelich » Sat Mar 24, 2012 7:14 am

If you're using kernel26.. you haven't upgraded in a long long long time. Things might break, but probably not.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: unable to update system - gcc dependancy error

Postby chemuduguntar » Sat Mar 24, 2012 7:42 am

$this->bbcode_second_pass_code('', ':: Starting full system upgrade...
:: Replace kernel26 with core/linux? [Y/n] n
:: Replace kernel26 with core/linux-raspberrypi? [Y/n] n
:: Replace kernel26-headers with core/linux-headers? [Y/n] n
:: Replace kernel26-headers with core/linux-headers-raspberrypi? [Y/n] n
:: Replace libjpeg with extra/libjpeg-turbo? [Y/n] y
:: Replace module-init-tools with core/kmod? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
')


$this->bbcode_second_pass_code('', 'error: failed to commit transaction (conflicting files)
filesystem: /etc/mtab exists in filesystem
Errors occurred, no packages were upgraded.
[root@keyboard ~]#
')

I tried to move /etc/mtab to /etc/mtab.backup, but then it complains about not being able to determine file system mount points... help!
chemuduguntar
 
Posts: 7
Joined: Sun Aug 07, 2011 2:16 am

Re: unable to update system - gcc dependancy error

Postby kmihelich » Sat Mar 24, 2012 7:52 am

pacman -Syuf

Some files have changed package ownership. Also, if you start arbitrarily deciding that you don't want to upgrade the kernel, then you can really expect things to break. And that's where help stops.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: unable to update system - gcc dependancy error

Postby chemuduguntar » Sat Mar 24, 2012 7:53 am

Sorry, I will upgrade everything now.

I am just a bit paranoid about bricking this thing :(
chemuduguntar
 
Posts: 7
Joined: Sun Aug 07, 2011 2:16 am

Re: unable to update system - gcc dependancy error

Postby kmihelich » Sat Mar 24, 2012 7:55 am

It is nearly impossible to brick anything with what we do. That term is thrown around too loosely.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: unable to update system - gcc dependancy error

Postby ax0r7ag0z » Sat Mar 24, 2012 1:58 pm

I concur!! Worst case scenario, you have to get the serial cable out.
Most of the time though, you just have to reinstall ;)
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: unable to update system - gcc dependancy error

Postby moonman » Sat Mar 24, 2012 6:30 pm

You will need serial cable if you mess up bootloader. Since updates don't mess with it you can't brick anything.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests