Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-23-2005, 03:06 AM
|
#1
|
Member
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129
Rep:
|
Problems running emerge -u system Gentoo
As soon as I heard that Gentoo 2005.0 was out, I did an emerge -u system and walked away. When I came back, I found, much to my dismay, that it failed about 41 packages in, on a package named file-4.12 with this error
Code:
../src/file -C -m magic
WARNING: type lestring16 >0 Description: %15.15s invalid
lt-file: could not find any magic files!
make[2]: *** [magic.mgc] Error 255
make[2]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12/magic'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12'
make: *** [all] Error 2
As I sat there scratching my head, I wondered, What the hell is a magic file?
Thanks in advance
|
|
|
04-24-2005, 02:28 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Rep:
|
Try running:
Code:
$ export MAGIC=/usr/share/misc/file/magic
Then retry the emerge ('emerge --resume' if you haven't emerged anything since the failure)
You did update your /etc/make.profile symlink right?
Last edited by bulliver; 04-24-2005 at 02:32 PM.
|
|
|
04-24-2005, 03:31 PM
|
#3
|
Member
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129
Original Poster
Rep:
|
The strange thing is the path you gave me doesn't exist on my system, but I did find a file called magic in /usr/share/misc/file, so I set my MAGIC to /usr/share/misc/file/magic, but that didn't work. As far as I know, I updated the make.profile link right--I is linked to a directory named ../usr/portage/profiles/default-linux/x86/2005.0. If I cd into /etc/make.profile, it gives me 3 subdirectories: 2.4, packages, and parent. This is correct, isn't it? The merge failed both before and after I updated this link (I was told to update it when I upgraded to portage) So, what's going on here?
Thanks a lot for the help.
|
|
|
04-24-2005, 08:06 PM
|
#4
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Rep:
|
Quote:
The strange thing is the path you gave me doesn't exist on my system, but I did find a file called magic in /usr/share/misc/file
|
Well, that's exactly the path I gave you, right? The 'magic' file will be there from the previous version of 'file' you have installed.
Quote:
so I set my MAGIC to /usr/share/misc/file/magic, but that didn't work.
|
That advice was just a shot in the dark I gleamed from a quick google of your error message. It looks like you have found a known bug. There are a few ideas for getting around it if you read through the comments here:
http://bugs.gentoo.org/show_bug.cgi?id=73786
I would suggest an 'emerge sync' if you have not done so recently, as the bug is marked resolved.
Quote:
As far as I know, I updated the make.profile link right--I is linked to a directory named ../usr/portage/profiles/default-linux/x86/2005.0. If I cd into /etc/make.profile, it gives me 3 subdirectories: 2.4, packages, and parent. This is correct, isn't it?
|
Yeah, that's right....
|
|
|
04-24-2005, 11:36 PM
|
#5
|
Member
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129
Original Poster
Rep:
|
I've got good news--the bug report helped out, and I've successfully updated my system to 2005.0. Wow what a mess that was. Turns out there's a bad file in the file-4.12 source tarball. Thank you so much, bulliver for helping me out!
|
|
|
All times are GMT -5. The time now is 02:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|