You are not logged in.

#1 2011-06-29 19:09:38

pocm
Member
Registered: 2010-08-02
Posts: 15

installing/upgrading packages on live cd - broken?

I've been trying to install perl in the live cd environment, as it is a dependency for many other things such as git and emacs, but this has led me down a rabbit hole of problems which I'm guessing stem from the recent dropping of aufs from the kernel.

Reproducing my problem is easy. Simply boot into the latest live cd, and type:

[root@archiso]$ dhcpcd eth0
...
[root@archiso]$ pacman -Syu

You will get errors about conflicts with aufs2, kernel26, ndiswrapper and tiacx depending on kernel26<2.6.39. To me the reasonable way around this would be:

[root@archiso]$ pacman -Syu --ignore kernel26

This will appear to work but the entire system will crash during the "checking for file conflicts" stage, such that a hard reboot is necessary.

Trying to bypass this problem and simply type

[root@archiso]$ pacman -Sy perl

will not work either - it will crash exactly the same way.

Any ideas or suggestions you all have are appreciated.

NOTE: I did check the feedback form but it seems to focus on AIF issues...

Offline

#2 2011-06-29 19:37:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: installing/upgrading packages on live cd - broken?

aufs2 and ndiswrapper have been removed from the repos. Remove them and try again.

Last edited by karol (2011-06-29 19:38:44)

Offline

#3 2011-06-29 19:49:19

pocm
Member
Registered: 2010-08-02
Posts: 15

Re: installing/upgrading packages on live cd - broken?

@karol, did you get that this is in the live cd?

Offline

#4 2011-06-29 19:57:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: installing/upgrading packages on live cd - broken?

pocm wrote:

@karol, did you get that this is in the live cd?

You are trying to install new packages to the liveCD? Have you tried '--ignore ndiswrapper'?

Last edited by karol (2011-06-29 20:03:04)

Offline

#5 2011-06-29 20:00:59

pocm
Member
Registered: 2010-08-02
Posts: 15

Re: installing/upgrading packages on live cd - broken?

@karol, yes. It is a dependency for many packages which are useful to me in a rescue/install system.

And yes, I have tried that and other permutations but the same hard-crash happens.

I don't imagine any kind of hard crash should occur in pacman regardless of what the targets are! But there you are. Should I file a bug?

Last edited by pocm (2011-06-29 20:02:50)

Offline

#6 2011-06-29 20:02:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: installing/upgrading packages on live cd - broken?

Have you checked if the core iso has perl?

As for the pacman crash, try to run it with '--debug'.

Last edited by karol (2011-06-29 20:04:29)

Offline

#7 2011-06-29 20:27:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: installing/upgrading packages on live cd - broken?

I've tried the 32-bit netinstall iso and I successfully run 'pacman -Rns aufs2 tiacx ndiswrapper' and 'pacman -Syu'.
I've noticed that pacman took some time after it removed the packages - I had to wait a couple seconds to get the prompt back - but it didn't hang.

The entire system did crash during the "checking for file conflicts" part.

Offline

#8 2011-06-29 20:58:19

pocm
Member
Registered: 2010-08-02
Posts: 15

Re: installing/upgrading packages on live cd - broken?

karol, I'm confused. If the entire system crashed, how was it successful?

Thanks for the core CD suggestion, I'm downloading it now.

Offline

#9 2011-06-29 21:05:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: installing/upgrading packages on live cd - broken?

pocm wrote:

karol, I'm confused. If the entire system crashed, how was it successful?

Sorry, I meant that I managed to remove those three packages. however 'pacman -Syu' failed.

pocm wrote:

Thanks for the core CD suggestion, I'm downloading it now.

It has perl 5.12.3-1.

Offline

#10 2011-06-30 17:26:11

pocm
Member
Registered: 2010-08-02
Posts: 15

Re: installing/upgrading packages on live cd - broken?

Getting perl from the core CD did work, but it proved to be redundant since the latest git package depends on >=5.14.0. I solved my problem by wgetting both git-1.7.5.2-1 and perl-5.12.3-1 from the schlunix repo, which can work on all live cds (i'm writing a script that will do this and other things). Installing those resolved all dependency problems for my purposes.

This of course does not solve either the long term dependency breakage from dropping aufs or whatever pacman bug caused the hard-crash, but at least solves my immediate problem.

Thanks for your help karol!

Offline

Board footer

Powered by FluxBB