Re: Any way to 'remove' apt-get?

2006-01-22 Thread Michelle Konzack
Am 2006-01-11 16:53:51, schrieb Andy Hawkins:

> [EMAIL PROTECTED]:~$ aptitude update
> Reading Package Lists... Done
> Building Dependency Tree
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
> E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission
> denied)
> E: Couldn't lock list directory..are you root?

su root -- aptitude update

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-22 Thread Michelle Konzack
Am 2006-01-11 09:19:30, schrieb Matthew Dawson:

> Also there are things that apt can do aptitude can't.  (Seen in the apt-build 
> script.)

Yes:apt-get moo (Try it out ;-) )

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-16 Thread Michael Marsh
On 1/16/06, David Berg <[EMAIL PROTECTED]> wrote:
> Yes, you could look at it that way.  I was 'Grr'ing because I can't
> seem to remember to replyall instead of reply when responding to a
> list that's setup as debian-user.  I have yet to switch back to mutt
> as I want to keep messages' read/unread status updated within gmail
> and haven't bothered to figure out how to do this with another mailer.

*Please*, if you're using Gmail and haven't done so yet, submit a
feature request for them to handle mailing lists properly.  They won't
do it unless enough users ask about it, preferring instead to add such
wonderful features as a random blog entry at the top of the page. 
While you're at it, ask them to fix the content encoding so that
messages sent from Gmail accounts to the Debian lists actually get the
standard footer.  There's no reason for plain-text messages to get a
MIME type of "quoted/printable", or any other MIME type, for that
matter.

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com



Re: Any way to 'remove' apt-get?

2006-01-16 Thread David Berg
On 1/12/06, Joshua Lee <[EMAIL PROTECTED]> wrote:
> On Thu, Jan 12, 2006 at 12:55:46AM -0500, Gabriel S. Farrell wrote:
> > On Wed, Jan 11, 2006 at 10:00:02PM -0600, David Berg wrote:
> > > Grr, I've got to get to a mailer more flexible than GMail.  Sorry for
> > > the direct reply Andy.
> >
> > Are you Grring because you wish you were using Mutt?  It's the answer
> > to all your problems!
>
> Actually you can use Mutt with gmail and exim4/fetchmail using SSL and
> TLS, I'm doing it right now. You do have to activate POP3 in gmail though,
> and exim4 needs some configuring to use TLS.
>

Yes, you could look at it that way.  I was 'Grr'ing because I can't
seem to remember to replyall instead of reply when responding to a
list that's setup as debian-user.  I have yet to switch back to mutt
as I want to keep messages' read/unread status updated within gmail
and haven't bothered to figure out how to do this with another mailer.

Back OT though, am I destined for trouble because I use apt-get and
aptitude interchangably?

Dave



Re: Any way to 'remove' apt-get?

2006-01-12 Thread Joshua Lee
On Thu, Jan 12, 2006 at 12:55:46AM -0500, Gabriel S. Farrell wrote:
> On Wed, Jan 11, 2006 at 10:00:02PM -0600, David Berg wrote:
> > Grr, I've got to get to a mailer more flexible than GMail.  Sorry for
> > the direct reply Andy.
> 
> Are you Grring because you wish you were using Mutt?  It's the answer
> to all your problems!

Actually you can use Mutt with gmail and exim4/fetchmail using SSL and
TLS, I'm doing it right now. You do have to activate POP3 in gmail though, 
and exim4 needs some configuring to use TLS.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Gabriel S. Farrell
On Wed, Jan 11, 2006 at 10:00:02PM -0600, David Berg wrote:
> Grr, I've got to get to a mailer more flexible than GMail.  Sorry for
> the direct reply Andy.

Are you Grring because you wish you were using Mutt?  It's the answer
to all your problems!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread David Berg
Grr, I've got to get to a mailer more flexible than GMail.  Sorry for
the direct reply Andy.

> I accidentally used apt-get to install a few packages yesterday, and when my
> nightly automatic aptitude update && aptitude -s -f dist-upgrade ran
> overnight, it wants to remove the newly installed packages (mysql 4.1) and
> replace them with the older ones.
>
> I had to manually run aptitude remove  before it could
> continue.

This seems odd to me.  I've been using aptitude for all my interactive
installs and apt-get for anything on the commandline and haven't
noticed any problems.  Am I working my way towards a problem?

Dave



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Andrei Popescu
On Wed, 11 Jan 2006 16:43:37 +0100
Marc PERRUDIN <[EMAIL PROTECTED]> wrote:

> >Also there are things that apt can do aptitude can't.  (Seen in the 
> >apt-build 
> >script.)
> >  
> >
> Yes, aptitude doesn't have the 'source' command so you can't download
> source package with aptitude.

[EMAIL PROTECTED]:~$ apt-get -h
[snip]
...
[snip]
   This APT has Super Cow Powers.

[EMAIL PROTECTED]:~$ aptitude -h
[snip]
...
[snip]
  This aptitude does not have Super Cow Powers.


I'd want to keep the Super Cow Powers around ;) I remember when doing a 
dist-upgrade from sarge to sid (which also involved changing from Xfree86 to 
Xorg) i couldn't sort out the dependencies with aptitude.  It worked with 
apt-get though...

Andrei

-- 
If you can't explain it simply, you don't understand it well enough. (Albert 
Einstein)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Andrew M.A. Cater
On Wed, Jan 11, 2006 at 11:23:43AM +, Andy Hawkins wrote:
> Hi,
> 
> In article <[EMAIL PROTECTED]>,
>David Jardine<[EMAIL PROTECTED]> wrote:
> > you could put:
> >
> > alias apt-get='echo "Use aptitude instead" ' 
> >
> > in /etc/profile.
> 
> I did think of something similar :)
> 
> I did also try uninstalling apt, but it tried to remove aptitude too!
> 
> Does aptitude use apt?
> 
Yes, of _course_ it does: both also use dpkg underneath.

If you go back slightly in the archives, you'll find an informative
post from Joey Hess about the similarities and differences between
the various front ends to dpkg, the thread including a rant from me :)

The hierarchy is something like

synaptic -- aptitude -- adept

   dselect -- apt-get

apt

dpkg

where dpkg is the lowest level.

Andy

Andy
> Andy
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Michael Marsh
On 1/11/06, Andy Hawkins <[EMAIL PROTECTED]> wrote:
> I don't use aptitude interactively, only from the command line:

Hence the comment about using sudo:

$ sudo aptitude update

You could even configure sudo to let you run aptitude without entering
a password, though it's not a bad idea to keep that particular safety
valve in place.  Since you wouldn't be running as root, and you
wouldn't configure sudo to let you run apt-get as root from your user
account, you'd never have to worry about accidentally running apt-get
instead of aptitude.

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Andy Hawkins
Hi,

In article <[EMAIL PROTECTED]>,
   Michael Marsh<[EMAIL PROTECTED]> wrote:
> You could always run aptitude from a regular user account instead of
> root.  Interactive aptitude will prompt you for a password when it
> needs one, and you can use sudo for the non-interactive calls.  Then
> it's simply a matter of not configuring sudo for apt-get.

I don't use aptitude interactively, only from the command line:

[EMAIL PROTECTED]:~$ aptitude update
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission
denied)
E: Couldn't lock list directory..are you root?

Andy


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Marc PERRUDIN
Matthew Dawson a écrit :

>On January 11, 2006 07:00 am, Clive Menzies wrote:
>  
>
>>On (11/01/06 11:23), Andy Hawkins wrote:
>>
>>
>>>Hi,
>>>
>>>In article <[EMAIL PROTECTED]>,
>>>
>>>   David Jardine<[EMAIL PROTECTED]> wrote:
>>>  
>>>
you could put:

alias apt-get='echo "Use aptitude instead" '

in /etc/profile.


>>>I did think of something similar :)
>>>
>>>I did also try uninstalling apt, but it tried to remove aptitude too!
>>>
>>>Does aptitude use apt?
>>>  
>>>
>>Yes aptitude is a front end to apt which in turn makes use of dpkg, a
>>heirachy of dependence.
>>
>>
>>
>Also there are things that apt can do aptitude can't.  (Seen in the apt-build 
>script.)
>  
>
Yes, aptitude doesn't have the 'source' command so you can't download
source package with aptitude.

>>Regards
>>
>>Clive
>>
>>--
>>www.clivemenzies.co.uk ...
>>...strategies for business
>>
>>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Michael Marsh
On 1/11/06, Andy Hawkins <[EMAIL PROTECTED]> wrote:
> I accidentally used apt-get to install a few packages yesterday, and when my
> nightly automatic aptitude update && aptitude -s -f dist-upgrade ran
> overnight, it wants to remove the newly installed packages (mysql 4.1) and
> replace them with the older ones.

You could always run aptitude from a regular user account instead of
root.  Interactive aptitude will prompt you for a password when it
needs one, and you can use sudo for the non-interactive calls.  Then
it's simply a matter of not configuring sudo for apt-get.

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Matthew Dawson
On January 11, 2006 07:00 am, Clive Menzies wrote:
> On (11/01/06 11:23), Andy Hawkins wrote:
> > Hi,
> >
> > In article <[EMAIL PROTECTED]>,
> >
> >David Jardine<[EMAIL PROTECTED]> wrote:
> > > you could put:
> > >
> > > alias apt-get='echo "Use aptitude instead" '
> > >
> > > in /etc/profile.
> >
> > I did think of something similar :)
> >
> > I did also try uninstalling apt, but it tried to remove aptitude too!
> >
> > Does aptitude use apt?
>
> Yes aptitude is a front end to apt which in turn makes use of dpkg, a
> heirachy of dependence.
>
Also there are things that apt can do aptitude can't.  (Seen in the apt-build 
script.)
> Regards
>
> Clive
>
> --
> www.clivemenzies.co.uk ...
> ...strategies for business


pgpGBTduVJhDz.pgp
Description: PGP signature


Re: Any way to 'remove' apt-get?

2006-01-11 Thread Clive Menzies
On (11/01/06 11:23), Andy Hawkins wrote:
> Hi,
> 
> In article <[EMAIL PROTECTED]>,
>David Jardine<[EMAIL PROTECTED]> wrote:
> > you could put:
> >
> > alias apt-get='echo "Use aptitude instead" ' 
> >
> > in /etc/profile.
> 
> I did think of something similar :)
> 
> I did also try uninstalling apt, but it tried to remove aptitude too!
> 
> Does aptitude use apt?

Yes aptitude is a front end to apt which in turn makes use of dpkg, a
heirachy of dependence.

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Mauro Sanna
> Does aptitude use apt?

I think aptitude is an interface to apt so it depends from apt.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Andy Hawkins
Hi,

In article <[EMAIL PROTECTED]>,
   David Jardine<[EMAIL PROTECTED]> wrote:
> you could put:
>
> alias apt-get='echo "Use aptitude instead" ' 
>
> in /etc/profile.

I did think of something similar :)

I did also try uninstalling apt, but it tried to remove aptitude too!

Does aptitude use apt?

Andy


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread David Jardine
On Wed, Jan 11, 2006 at 09:53:43AM +, Andy Hawkins wrote:
> Hi,
> 
> Now that aptitude is the recommended package manager for Debian Stable, is
> there any way of removing apt-get?
> 
> I accidentally used apt-get to install a few packages yesterday, and when my
> nightly automatic aptitude update && aptitude -s -f dist-upgrade ran
> overnight, it wants to remove the newly installed packages (mysql 4.1) and
> replace them with the older ones.
> 
> I had to manually run aptitude remove  before it could
> continue.
> 
> Is there any way of removing apt-get so that I can't run it by accident
> again in future?
> 
> Thanks
> 
> Andy
> 

you could put:

alias apt-get='echo "Use aptitude instead" ' 

in /etc/profile.


-- 
David Jardine

"Running Debian GNU/Linux and
loving every minute of it."  -L. von Sacher-M.(1835-1895)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Yann Lejeune
On Wed, Jan 11, 2006 at 09:53:43AM +, Andy Hawkins wrote :
> Is there any way of removing apt-get so that I can't run it by accident
> again in future?

 What about an alias to run aptitude when you write apt-get ?

Regards.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any way to 'remove' apt-get?

2006-01-11 Thread Sturla Holm Hansen

Andy Hawkins wrote:


Hi,

Now that aptitude is the recommended package manager for Debian Stable, is
there any way of removing apt-get?

I accidentally used apt-get to install a few packages yesterday, and when my
nightly automatic aptitude update && aptitude -s -f dist-upgrade ran
overnight, it wants to remove the newly installed packages (mysql 4.1) and
replace them with the older ones.

I had to manually run aptitude remove  before it could
continue.

Is there any way of removing apt-get so that I can't run it by accident
again in future?

Thanks

Andy


 

I'm still using apt-get so I wouldn't know what aptitude does in the 
background, but if aptitude doesn't need apt-get you could solve the 
problem easily by running :

chmod -x /usr/bin/apt-get
Then you can't run it and get an error if you tryas you would get if 
it wasn't there anymore...


Sturla


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Any way to 'remove' apt-get?

2006-01-11 Thread Andy Hawkins
Hi,

Now that aptitude is the recommended package manager for Debian Stable, is
there any way of removing apt-get?

I accidentally used apt-get to install a few packages yesterday, and when my
nightly automatic aptitude update && aptitude -s -f dist-upgrade ran
overnight, it wants to remove the newly installed packages (mysql 4.1) and
replace them with the older ones.

I had to manually run aptitude remove  before it could
continue.

Is there any way of removing apt-get so that I can't run it by accident
again in future?

Thanks

Andy


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]