Re: Apt-get Upgrade/Update question

2002-04-23 Thread Dave Sherohman
On Tue, Apr 23, 2002 at 07:49:03AM -0400, Shawn McMahon wrote:
> Many people skip the "apt-cache show webalizer" part, and just pray for
> the best.

Many people skip the "apt-cache show webalizer" part, and read what
apt-get has to say about it:

# apt-get install libdbd-pg-perl
[...]
The following extra packages will be installed:
  libpgsql2 libpgtcl postgresql-client
The following packages will be REMOVED:
  libpgsql2.1
The following NEW packages will be installed:
  libpgsql2
The following packages will be upgraded
  libdbd-pg-perl libpgtcl postgresql-client
[ Hmm...  Nope, I don't think I want to remove libpgsql2.1 and
replace it with libpgsql2... ]
Do you want to continue? [Y/n] n
Abort.

Much quicker, easier, more accurate, and more complete than using
apt-cache to track down the dependencies, their versions, the
versions of their dependencies, etc.

(This may be dependent upon having the line

Apt::Get::Show-Upgraded "true";

in /etc/apt/apt.conf, but I think it's the default behaviour.)

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Tom Swiss


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



Re: Apt-get Upgrade/Update question

2002-04-23 Thread Shawn McMahon
begin  Matthew Daubenspeck quotation:
> What exactly does this mean?

That you haven't read the man page for apt-get.

> The following packages have been kept back
>   webalizer

   upgrade
  upgrade is used to install the newest  versions  of
  all packages currently installed on the system from
  the sources  enumerated  in  /etc/apt/sources.list.
  Packages  currently  installed  with  new  versions
  available are retrieved and upgraded; under no cir­
  cumstances   are   currently   installed   packages
  removed,  or   packages   not   already   installed
  retrieved  and installed. New versions of currently
  installed packages that cannot be upgraded  without
  changing the install status of another package will
  be left at their current version. An update must be
  performed first so that apt-get knows that new ver­
  sions of packages are available.


See especially the line "New versions of currently installed packages
that cannot be upgraded without changing the install status of another
package will be left at their current version."

One way to fix it:

apt-cache show webalizer

(look at the dependencies, see if there are any that you recognize as
things you DON'T want installed for some reason)

Once you're happy with the dependencies;

apt-get install webalizer

(that will force it to go ahead and install new software to meet
dependencies.)

Many people skip the "apt-cache show webalizer" part, and just pray for
the best.  If your system isn't mission-critical, there's a lot to be
said for this practice, and less to be said against it, but you're still
taking a risk if you do.  I do it all the time, haven't broken anything
serious yet.

BTW, after you do an "apt-get update", one way to find out what will be
installed before you commit to it is "apt-get -s upgrade".  The "-s"
says "don't actually do it, just show me what you would do."


-- 
Shawn McMahon| McMahon's Laws of Linux support:
http://www.eiv.com   | 1) There's more than one way to do it
AIM: spmcmahonfedex, smcmahoneiv | 2) Somebody thinks your way is wrong


pgpqstFHCilg9.pgp
Description: PGP signature


Re: Apt-get Upgrade/Update question

2002-04-23 Thread Gary Turner
On Mon, 22 Apr 2002 20:58:58 -0400, Matthew Daubenspeck wrote:

>What exactly does this mean?
>
>ordeal:/home/mellofone# apt-get upgrade
>Reading Package Lists... Done
>Building Dependency Tree... Done
>The following packages have been kept back
>  webalizer
>0 packages upgraded, 0 newly installed, 0 to remove and 1  not
>upgraded.

This question was asked and answered 4/21 as ""What does "The following
packages have been kept back" mean?""
--
gt
It is interesting to note that as one evil empire (generic) fell,
another Evil Empire (tm)  began its nefarious rise. -- me
Coincidence?  I think not.


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



Re: Apt-get Upgrade/Update question

2002-04-22 Thread Ramesh Panuganty



Means, packages is 
not available in your apt sources. What are you actually trying to do with 
"apt-get upgrade"?
 
- Original Message - 
From: "Matthew Daubenspeck" <[EMAIL PROTECTED]>
To: <debian-user@lists.debian.org>
Sent: Monday, April 22, 2002 6:58 PM
Subject: Apt-get Upgrade/Update question
> What exactly does this mean?> > 
ordeal:/home/mellofone# apt-get upgrade> Reading Package Lists... 
Done> Building Dependency Tree... Done> The following packages 
have been kept back>   webalizer> 0 packages upgraded, 0 
newly installed, 0 to remove and 1  not> upgraded.
 


Re: Apt-get Upgrade/Update question

2002-04-22 Thread David Jackson

http://www.debian.org/doc/manuals/apt-howto/index.en.html




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



RE: Apt-get Upgrade/Update question

2002-04-22 Thread Grégory Karékinian
Hi,


If I'm not mistaken, it means that this package needs new dependencies
in order to be upgraded.
It happened to me today with the package links which required two new
libraries.
I solved the problem with apt-get install links... No problem so far,
though I'm not sure it's a clean method.



> -Original Message-
> From: Matthew Daubenspeck [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, April 23, 2002 2:59 AM
> To: debian-user@lists.debian.org
> Subject: Apt-get Upgrade/Update question
> 
> 
> What exactly does this mean?
> 
> ordeal:/home/mellofone# apt-get upgrade
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages have been kept back
>   webalizer
> 0 packages upgraded, 0 newly installed, 0 to remove and 1  not
> upgraded.


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



Apt-get Upgrade/Update question

2002-04-22 Thread Matthew Daubenspeck
What exactly does this mean?

ordeal:/home/mellofone# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
  webalizer
0 packages upgraded, 0 newly installed, 0 to remove and 1  not
upgraded.


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