[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New to Debian (Gentoo user) - package management



On 01/14/2014 12:05 PM, Tanstaafl wrote:
On 2014-01-03 9:18 AM, Sven Hartge <sven@svenhartge.de> wrote:
emerge --pretend -vuDN world
results in a list of all available updates, as well as any dependencies
that would be installed, which I can then pick and choose from. I
usually wait until newly available updates have been available for at
least a few days before installing them, to avoid nasty surprises.

apt-get -s dist-upgrade

Um... it looks like this actually performs the update?

I want to see what updates would be applied, but NOT apply them yet.

That is what the --pretend flag in gentoo does (actually the short version is 'emerge -pvuDN world')...



are there man pages in gentoo :) ?

man apt-get

-s, --simulate, --just-print, --dry-run, --recon, --no-act
No action; perform a simulation of events that would occur but do not actually change the system. Configuration Item: APT::Get::Simulate.

Simulated runs performed as a user will automatically deactivate locking (Debug::NoLocking), and if the option APT::Get::Show-User-Simulation-Note is set (as it is by default) a notice will also be displayed indicating that this is only a simulation. Runs performed as root do not trigger either NoLocking or the notice - superusers should know what they are doing without further warnings
           from apt-get.

Simulated runs print out a series of lines, each representing a dpkg operation: configure (Conf), remove (Remv) or unpack (Inst). Square brackets indicate broken packages, and empty square
           brackets indicate breaks that are of no consequence (rare).


Regards,
Alex


Reply to: