Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-10 Thread David J. Haines
On Sat, Mar 08, 2014 at 06:08:32PM +, Cao, Renzhi (MU-Student) wrote: I see, so I can continue upgrading the system. This time, I only want to upgrade the system, and rebuild the kernel. When I need other operations, I will backup all data first. I will continue posting, thank you!

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-08 Thread Cao, Renzhi (MU-Student)
Hi, I can reinstall the system any time, but I can learn more when trying to fix the problem. Thank you very much! Renzhi Cao Email : rc...@mail.missouri.edu From: arch-general arch-general-boun...@archlinux.org on behalf of Bigby James

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-08 Thread Kinney Baughman
On 03/08/2014 01:13 AM, Bigby James wrote: On Sat, Mar 08, 2014 at 03:56:28AM +, Cao, Renzhi (MU-Student) wrote: I plan to use : dd if=/dev/hda bs=512 count=1 21 | grep GRUB dd if=/dev/hda bs=512 count=1 21 | grep LILO to check the bootloader I have. I am really new to arch linux, but I

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-08 Thread Kinney Baughman
On 03/08/2014 11:53 AM, Cao, Renzhi (MU-Student) wrote: Hi, I can reinstall the system any time, but I can learn more when trying to fix the problem. Thank you very much! Ah. Sorry. I didn't read this before I posted. But I will say this while I'm here. Yes. You can learn a lot

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-08 Thread Ralf Mardorf
On Sat, 2014-03-08 at 12:40 -0500, Kinney Baughman wrote: you could already have a new box up and running, one that you can be sure is trim and solid and you will not learn something useful, if you try to repair your broken install. You will learn what to do and forget what you learned,

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-08 Thread Ralf Mardorf
On Sat, 2014-03-08 at 17:49 +, Cao, Renzhi (MU-Student) wrote: By the way, I am thinking the upgrading process will only influence the system, not my data partition. I still need suggestions, am I think that correct? Or lack of experience. Correct, but accidents happen, so _backup_ your

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-08 Thread Cao, Renzhi (MU-Student)
Ok, I have about 2T data there, I need to go by a external disk to back up the data, and then updating the system. Thank you so much! Renzhi Cao From: arch-general arch-general-boun...@archlinux.org on behalf of Ralf Mardorf

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-08 Thread Cao, Renzhi (MU-Student)
I see, so I can continue upgrading the system. This time, I only want to upgrade the system, and rebuild the kernel. When I need other operations, I will backup all data first. I will continue posting, thank you! Renzhi Cao Email : rc...@mail.missouri.edu http://web.missouri.edu/~rcrg4/

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Thomas Bächler
Am 07.03.2014 07:06, schrieb Cao, Renzhi (MU-Student): After this, I use the following command to update the system: pacman -Syu --ignore filesystem,bash pacman -S bash and then reboot, get the following information: And why didn't you complete the instructions by running 'pacman -Su'

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Caorenzhi
Thank you for your good suggestion! I think I can use pacman to remove the packages, however, I cannot connect to Internet after chroot, so cannot use pacman to update. Do you have any idea? Sent from my iPhone On Mar 7, 2014, at 1:20, Andres Fernandez and...@softwareperonista.com.ar wrote:

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Caorenzhi
Yes, I try pacman -Su, and they said the /usr/sbin is exists. I am thinking that is ok, so I reboot the system. I have a cd to load the system, and I have another computer to download packages and have a external hard disk to use, like copy files there. Is there still any way to solve my

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Thomas Bächler
Am 07.03.2014 15:51, schrieb Caorenzhi: Yes, I try pacman -Su, and they said the /usr/sbin is exists. I am thinking that is ok, so I reboot the system. The instructions explicitly stated that this is NOT okay. I have a cd to load the system, and I have another computer to download packages

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Paul Gideon Dann
On Friday 07 Mar 2014 08:46:02 Caorenzhi wrote: Thank you for your good suggestion! I think I can use pacman to remove the packages, however, I cannot connect to Internet after chroot, so cannot use pacman to update. Do you have any idea? Assuming you can plug your computer in with an

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Caorenzhi
That is my fault. Do I also need to remove files in /usr/bin as you said? Or you mean /usr/sbin, /sbin, /bin? Since that is what I see the error from at beginning. There are a lot of files in /sbin, should I remove all of them? Let me check my system in my lab and I will reply you later for

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Caorenzhi
Thank you Paul, I will check it in my lab later and tell you the details. I try add ip eth0 yesterday , and the system says there is no eth0. Sent from my iPhone On Mar 7, 2014, at 9:01, Paul Gideon Dann pdgid...@gmail.com wrote: On Friday 07 Mar 2014 08:46:02 Caorenzhi wrote: Thank you for

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Thomas Bächler
Am 07.03.2014 16:09, schrieb Caorenzhi: Do I also need to remove files in /usr/bin as you said? Or you mean /usr/sbin, /sbin, /bin? You are right, only files in /bin, /sbin and /usr/sbin should be gone. Everything should be in /usr/bin after the update. Since that is what I see the error

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Caorenzhi
Thank you! I remember when I run the command to find out the packages I should remove, it shows: lilo, grub-common, initvlinux( something like this), but I don't know how to move them to /usr/bin. I try directly mv lilo to /usr/bin, and use the command to search which package I should remove,

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Paul Gideon Dann
On Friday 07 Mar 2014 09:12:39 Caorenzhi wrote: Thank you Paul, I will check it in my lab later and tell you the details. I try add ip eth0 yesterday , and the system says there is no eth0. In that case, you need to do: # ip link to see a list of your network interfaces. It might not be

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Paul Gideon Dann
On Friday 07 Mar 2014 09:26:19 Caorenzhi wrote: Thank you! I remember when I run the command to find out the packages I should remove, it shows: lilo, grub-common, initvlinux( something like this), but I don't know how to move them to /usr/bin. I try directly mv lilo to /usr/bin, and use the

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Ralf Mardorf
On Fri, 2014-03-07 at 04:20 -0300, Andres Fernandez wrote: I think you should boot with an Arch Installer, then chroot and try to fix your system removing the package that has files on those directories, following the steps on the Arch news about this issue. An then update again. I think that

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Ralf Mardorf
On Fri, 2014-03-07 at 16:15 +0100, Thomas Bächler wrote: You are right, only files in /bin, /sbin and /usr/sbin should be gone. Everything should be in /usr/bin after the update. JFTR if I build packages for private usage, I prefer to install to /usr/local/bin, /usr/local/sbin, those packages

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Ralf Mardorf
On Fri, 2014-03-07 at 16:21 +, Paul Gideon Dann wrote: If the last time you updated was before 2012-11-04, there's a good chance you never made the switch to systemd, which will make things even harder for you. ... for several reasons, e.g. eth0 likely will become enp3s0.

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Anatol Pomozov
Hi On Fri, Mar 7, 2014 at 10:45 AM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Fri, 2014-03-07 at 16:21 +, Paul Gideon Dann wrote: If the last time you updated was before 2012-11-04, there's a good chance you never made the switch to systemd, which will make things even harder for

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Cao, Renzhi (MU-Student)
Hi, Continue previous email, I think the warning of core does not exists if fixed. I try this command: #pacman -Syu mkinitcpio systemd linux Finally, it shows: error: failed to commit transaction (conflicting files) filesystem: /bin exists in filesystem filesystem: /sbin

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Nowaker
It seems OP is already done, but I hope this will by useful for anyone struggling to upgrade a VERY old Arch Linux. Warning: this is only for experienced users. Beginners do the backups and install Arch from scratch. Before proceeding, be sure to have several ssh sessions, logged as root.

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Caorenzhi
Hi, it seems your method is really complex. Is there any simple way? For my case, do you know how to fix the problem of lilo and grub-common? Sent from my iPhone On Mar 7, 2014, at 17:18, Nowaker enwuk...@gmail.com wrote: It seems OP is already done, but I hope this will by useful for anyone

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Doug Newgard
From: rc...@mail.missouri.edu Date: Fri, 7 Mar 2014 19:30:59 -0600 To: arch-general@archlinux.org Subject: Re: [arch-general] Problems of using pacman and updating the filesystem Hi, it seems your method is really complex. Is there any simple way?

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Cao, Renzhi (MU-Student)
Thank you. Could you give me more details about updating them? I am new to arch linux, can I try to uninstall them, and later after my problem solved, install the new one by pacman? Renzhi Cao Email : rc...@mail.missouri.edu From: arch-general

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Cao, Renzhi (MU-Student)
I am not sure which one is used as my boot loader, could you please tell me how to check that? I am thinking using this following command: #pacman -Rs lilo #pacman -Rs grub-common #pacman -S grub Is that correct? Thank you so much! Renzhi Cao Email : rc...@mail.missouri.edu

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread WorMzy Tykashi
On 8 March 2014 03:29, Cao, Renzhi (MU-Student) rc...@mail.missouri.edu wrote: I am not sure which one is used as my boot loader, could you please tell me how to check that? I am thinking using this following command: #pacman -Rs lilo #pacman -Rs grub-common #pacman -S grub Is that

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Cao, Renzhi (MU-Student)
I plan to use : dd if=/dev/hda bs=512 count=1 21 | grep GRUB dd if=/dev/hda bs=512 count=1 21 | grep LILO to check the bootloader I have. I am really new to arch linux, but I want to fix that problem. It seems I almost fix the problem, just solve the lilo and grub-common problem. If I

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-07 Thread Bigby James
On Sat, Mar 08, 2014 at 03:56:28AM +, Cao, Renzhi (MU-Student) wrote: I plan to use : dd if=/dev/hda bs=512 count=1 21 | grep GRUB dd if=/dev/hda bs=512 count=1 21 | grep LILO to check the bootloader I have. I am really new to arch linux, but I want to fix that problem. It seems I

[arch-general] Problems of using pacman and updating the filesystem

2014-03-06 Thread Cao, Renzhi (MU-Student)
Hi, I get some problems about pacman. At beginning, I use pacman -Syu to update the system, and then I cannot login the system. I checked the internet, and then use CD to load the system, and use pacman -Syu mkinitcpio systemd linux, and get the following information: (133/133) checking for

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-06 Thread Ralf Mardorf
When did you run the last update? The filesystem hierarchy changes and the switch to systemd were done a long, long time ago. [rocketmouse@archlinux ~]$ ls -ld /bin lrwxrwxrwx 1 root root 7 May 31 2013 /bin - usr/bin [rocketmouse@archlinux ~]$ ls -ld /sbin lrwxrwxrwx 1 root root 7 May 31 2013

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-06 Thread Ralf Mardorf
PS: https://wiki.archlinux.org/index.php/arch_filesystem_hierarchy It does link to https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/ ;)

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-06 Thread Cao, Renzhi (MU-Student)
Thank you! You are right, what I did is based on that link: https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/ Now, for my problem, is there any way to repair that? Or you think I should reinstall my arch linux system? Renzhi Cao Email :

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-06 Thread Simon Brand
Am 07.03.2014 07:49, schrieb Cao, Renzhi (MU-Student): Now, for my problem, is there any way to repair that? Or you think I should reinstall my arch linux system? I am not a fan of reinstalling only to fix the system, but you should update more frequently ;) Chroot into your system, then look

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-06 Thread Caorenzhi
Hi, there are some files in /sbin,/usr/sbin. Should I just remove them directly and then run pacman -s filesystem? I find out that I cannot access the internet this time, can I still use that command? Sent from my iPhone On Mar 7, 2014, at 1:07, Simon Brand simon.br...@postadigitale.de

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-06 Thread Andres Fernandez
I think you should boot with an Arch Installer, then chroot and try to fix your system removing the package that has files on those directories, following the steps on the Arch news about this issue. An then update again. I think that this will solve your trouble. Andrés Fernandez Software

Re: [arch-general] Problems of using pacman and updating the filesystem

2014-03-06 Thread Simon Brand
Am 07.03.2014 08:13, schrieb Caorenzhi: Hi, there are some files in /sbin,/usr/sbin. Should I just remove them directly and then run pacman -s filesystem? I find out that I cannot access the internet this time, can I still use that command? Sent from my iPhone On Mar 7, 2014, at 1:07,