Re: sudo in basesystem (was: fetch extension - use local filenamefrom content-disposition header)



Andrea Campi wrote:
On Fri, Dec 30, 2005 at 01:14:32PM -0800, Darren Pilgrim wrote:

From: Andrea Campi

Well, try using sudo (portupgrade -s) to install sudo... ;-) All goes well until portupgrade deinstalls the old version,
then tries to use sudo to "make install" sudo ;-)

Have you ever tried using portupgrade to upgrade portupgrade? Someone should fix portupgrade so it can still be used after deinstalling itself. ;-)


Right, that's the other half of the issue ;-)

We could just ship portupgrade in the base system...

/me ducks and runs

bye,
	Andrea


I know that you are joking, but I'd like to nip this in the bud before others try to take you seriously. I think that portupgrade is an excellent tool, but making it part of the base system means making Ruby part of the base system. Once we do that then we are back with the same problem that we had with Perl. Who maintains it? Which do we import, Ruby 1.6 or 1.8? What happens when 1.8 becomes obsolete and users want to install something newer? We struggled with this with Perl, and we frankly are better off learning the lesson there. Now, if portupgrade were written in C or even C++, it would be a no-brainer to import. Not that I like/dislike Ruby, it's just a quickly moving target due to its immaturity, just like Python and Eiffel and all those other hip new languages are.

Scott

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Unable to delete a package
    ... install clean' hoping that will cover me. ... Does portsnap do a better job than portupgrade or portsmanager? ... It will not keep your installed packages up to date ...
    (freebsd-questions)
  • Re: A portupgrade question
    ... I've run portupgrade -a to upgrade a bunch of ports, ... portupgrade has tried to install mysql-client, ... to install it again (or if it needs upgrading, ... handled through the ldconfig_compat port which installs precisely one file: ...
    (freebsd-questions)
  • Re: So How Hard Is Moving From 6.3 To 7.0?
    ... you can install the misc/compat6x ... a few hours of watching compiler output scrolling up your screen ... you are updating all your ports. ... in your face if you just naively run 'portupgrade -fa'. ...
    (freebsd-questions)
  • Fwd: incomplete portupgrade -a command
    ... Subject: incomplete 'portupgrade -a' command ... database, you could have hosed the database, and that could lead to ... I'd like to add that I had initially issued the same command ... If you did not install an older version of the port, ...
    (freebsd-questions)
  • Re: Intelligent way of dealing with dependancies in ports
    ... glib, expat, and so on an so on, every one of which complains that tere ... I've tried pkg_delete -f and install of the newer version, ... portmanager is also good for this sort of thing. ... will do pretty much the same thing as Philip's portupgrade command. ...
    (freebsd-questions)