U poplavi raznih ppa repozitorija, može vam se desiti da dodate neki repos, pa još plus uradite upgrade originalnih paketa (instalirate neki paketić koji je iz tog ppa repozitorija)… sve je to super.
E sad situacija u kojoj želite da deaktivirate repos i da vratite pakete na “sve kako je bilo”… peglancija
e sad revert na staro stanje, ppa-purge se pobrine da ukine repos, sve pakete instalirane iz repos i ako je neki paket iz reposa pregazio stari paket uradi se downgrade, ljepota
[code]Updating packages lists
PPA to be removed: chromium-daily ppa
comm: file 2 is not in sorted order
Package revert list generated:
chromium-browser/oneiric chromium-browser-l10n/oneiric
chromium-codecs-ffmpeg/oneiric
Disabling chromium-daily PPA from
/etc/apt/sources.list.d/chromium-daily-ppa-oneiric.list
Updating packages lists
Reading package lists… Done
Building dependency tree
Reading state information… Done
Selected version ‘14.0.835.202~r103287-0ubuntu1’ (Ubuntu:11.10/oneiric [amd64]) for 'chromium-browser’
Selected version ‘14.0.835.202~r103287-0ubuntu1’ (Ubuntu:11.10/oneiric [all]) for 'chromium-browser-l10n’
Selected version ‘14.0.835.202~r103287-0ubuntu1’ (Ubuntu:11.10/oneiric [amd64]) for 'chromium-codecs-ffmpeg’
The following packages will be DOWNGRADED:
chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg
0 upgraded, 0 newly installed, 3 downgraded, 0 to remove and 0 not upgraded.
Need to get 21.6 MB of archives.
After this operation, 6,496 kB of additional disk space will be used.
Do you want to continue [Y/n]?[/code]
[quote=Bo]a za kaj onda sluzi /etc/apt/sources.{list,dir} ?
Mislim… fino je to, ali koristiti konzolni alat za tu namjenu dovodi do loseg poznavanja sistema.
On the other side, ako je vec tu automatika, onda ima na onom gui halatu za aptitude upravljanje repoima.[/quote]
Ne vraca ti na verzije paketa sa osnovnih repozitorija. Ima i program sa frontendom za ovo, a zove se Ubuntu Tweak. U svakom slucaju zgodno pojednostavljenje procedure vracanja na repozitorijske verzije paketa.
[quote=Bo]a za kaj onda sluzi /etc/apt/sources.{list,dir} ?
Mislim… fino je to, ali koristiti konzolni alat za tu namjenu dovodi do loseg poznavanja sistema.
On the other side, ako je vec tu automatika, onda ima na onom gui halatu za aptitude upravljanje repoima.[/quote]
npr instalrao si neki libNEŠTA sa ppa reposa, ako ukineš ppa fajl iz source.list.d dira onda npr. kad hoćeš nešta da instaliraš neki paket kaže ti “this package depends on NEŠTO but not NEŠTO” i tako to
ovaj ppa-purge prije micanja reposa uradi downgrade na pa onaj paket libNEŠTA bude taman
btw onaj tweak-next (oneiric) mi javi kad ukidam npr ovaj chromium repos da nema paketa za downgrade, dok preko terminala ima
ATM ipak preporučujem ppa-purge
mada i ppa-purge ima glup bug kad kažeš “no” samo nastavi ko da si kuco Y zakomentariše repos url i downgradeuje se, šta ga briga
After this operation, 6,496 kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
The following packages will be DOWNGRADED:
chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg
0 packages upgraded, 0 newly installed, 3 downgraded, 0 to remove and 38 not upgraded.
Need to get 21.6 MB of archives. After unpacking 6,496 kB will be used.