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

Finding and removing backports

I installed backports of all packages I was using, sometime back. Now, I
want to replace the backports with the packages from stable. Based on
<http://www.ubuntuforums.org/archive/index.php/t-12174.html>, I have come up

apt-show-versions -b | grep sarge-backports | cut -d ' ' -f 1 | awk -F/ '{print $1;}' | grep -v grepmap | grep -v wine | xargs --replace="{}" apt-get install {}/sarge -y

Could anyone confirm if this is correct?

What is special about "grepmap" and "wine" above?

But when I try to "apt-get install apt-show-versions", it complains:
> The following packages have unmet dependencies:
>   apt-show-versions: Depends: libapt-pkg-perl but it is not going to be installed"

Kindly suggest how to resolve this.

Attachment: pgpJh0IDEOhNb.pgp
Description: PGP signature

Reply to: