Monday, May 23, 2016

package management - Does file /etc/apt/sources.list.apt-clone exist and if so, what is the difference to /etc/apt/sources.list?


I know that /etc/apt/sources.list is used to tell the apt ubuntu/debian package system about the packages it should use. This is quite clear already.


But I have seen that there is a file /etc/apt/sources.list.apt-clone and I was wondering what it is? Is this file only present on my system (which is 12.04 precise)?


It seems indeed to be a copy of the file /etc/apt/sources.list.


In case the file exists in all 12.04 versions, what purpose does it serve?



This file was created by apt-clone:



apt-clone is the command-line tool for handling packages, and may be
considered the user's "front-end" to the apt-get(8). It manages GRUB
menu and ZFS 'syspool' filesystems. Two upgrade methods supported: 1)
safe upgrades via cloning a currently active filesystem and later ch-
rooting into it to perform actual upgrade operation; 2) in-place
(live) upgrades by checkpointing a currently active filesystem prior
to any upgrade modifications done by apt-get utility.



In one moment you used, or your OEM used apt-clone for cloning your current packages, and that file was left behind. If you don't use apt-clone anymore you can delete it without problems.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...