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

Re: i think I switched to Etch without knowing it



Guillaume TESSIER wrote:
Marty wrote:

Guillaume TESSIER wrote:

what is this : dpkg/apt var package directories
should tell the story.
What is the absolut path of it?


There are many individual files that get updated, in directories
or in subdirectories of, /var/lib/dpkg and /var/lib/apt,
/var/cache/apt, /var/backups and perhaps others as well.

For example in /var/lib/apt/lists/ there are *Packages files which
should have the time and date stamp of the last time you updated
your package list, i.e. when you ran apt-get update or the package
update option of dselect.

To find all the files which get updated I would use something
like the following:

find /var |egrep 'dpkg|apt' |xargs ls -altd |more

If I really wanted to get fancy, and I already know e.g. that I did the
update/upgrade/install three days ago, I might try something like:

find -mtime 3 /var |egrep 'dpkg|apt' |xargs ls -altd |more

that should be:

find /var -mtime 3 |egrep 'dpkg|apt' |xargs ls -altd |more



While testing out that command, I just starting with -mtime 1 and
when I got to 7 I found most of the files that changed, which means
my last major package upgrade was 7 days ago. Other files had later
timestamps, indicating that I did something like install some packages
at a later time.

Marty!

thank you! I did my last upgrade the 2nd of june!!!

That's the way.  The best solution is to redefine it as a non-problem.  :-)


Right, that's great... so it shouldn't be the complete mess in the box.

Bye the way, have you red my last posts (still about this)?

It still seems strange as while still using the target "testing" in my sources list i don't update the packages list with the testing packages....

Don't know what's that'a all about.


Don't know. anyway i guess i should use the "stable" target from now.

Or "sarge" if you want to stay with this release in the future.


G





Reply to: