Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What does "fixpackages" ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ks
n00b
n00b


Joined: 03 Feb 2003
Posts: 21
Location: Denmark

PostPosted: Wed Jun 23, 2004 2:18 pm    Post subject: What does "fixpackages" ? Reply with quote

Hi!

What does the fixpackages script do? There is no indications in either make.conf or /usr/sbin/fixpackages nor a man page exists...
_________________
KS
Back to top
View user's profile Send private message
Shan
Guru
Guru


Joined: 04 Nov 2003
Posts: 556
Location: /dev/null

PostPosted: Thu Jun 24, 2004 1:55 am    Post subject: Reply with quote

I've been wondering this myself. My theory is that it just a script that..well 'fixes' the packages in /usr/portage/packages. But what could be wrong with them I dont know.

Someone care to enlighten us?
_________________
2b || !2b
{ STFF } { GOOGLE } { RTFM } { NO -U } { STRIP }
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9013
Location: beyond the rim

PostPosted: Thu Jun 24, 2004 2:48 am    Post subject: Reply with quote

http://article.gmane.org/gmane.linux.gentoo.user/46273
Back to top
View user's profile Send private message
Shan
Guru
Guru


Joined: 04 Nov 2003
Posts: 556
Location: /dev/null

PostPosted: Thu Jun 24, 2004 2:53 am    Post subject: Reply with quote

Okay, thanks genome.

Now another question (and one I should probably know but dont), is fixpackages automatically run after every emerge sync? And if not, is it a bad idea (EG could be problematic, or a waste of time) to run it afterwords by hand (EG emerge sync && fixpackages)
_________________
2b || !2b
{ STFF } { GOOGLE } { RTFM } { NO -U } { STRIP }
Back to top
View user's profile Send private message
ks
n00b
n00b


Joined: 03 Feb 2003
Posts: 21
Location: Denmark

PostPosted: Thu Jun 24, 2004 7:09 am    Post subject: Reply with quote

It is specified in make.conf. Default is off :)
_________________
KS
Back to top
View user's profile Send private message
Shan
Guru
Guru


Joined: 04 Nov 2003
Posts: 556
Location: /dev/null

PostPosted: Thu Jun 24, 2004 7:53 am    Post subject: Reply with quote

ks wrote:
It is specified in make.conf. Default is off :)


Well then, I guess that inadvertantly answers both questions :)
_________________
2b || !2b
{ STFF } { GOOGLE } { RTFM } { NO -U } { STRIP }
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Sun Aug 29, 2004 10:34 pm    Post subject: Reply with quote

So, it would seem like a design blunder :D . I mean, who would embed a couple of bytes long string to be updated into a several megabytes compressed files (with bzip2 above all)? Is finding a solution that complicated?

No offence meant. We all make mistakes when developping softwares. You can't always predict everything that some peace of code will need to deal with in the future (altough that in this case, I would find it rather embarrassing).

What I'm wondering is, why isn't fixpackages keeping track of what it updated and what it did not. fixpackages takes about 40 minutes to run on my system. When it's done and I run the command right back, it will take... well, 40 minutes to execute. Obviously, fixpackages is quite... dumb (in the sense that it's not intelligent). Not everybody has a 2Ghz dual P4 bombs :(
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum