![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Repositories & Backports Need help with apt-get and updating Ubuntu? Post here.. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Jan 2006
Location: Argentina
Beans: 72
Ubuntu 7.10 Gutsy Gibbon
|
[SOLVED] Force upgrades from a repository
Hi,
I'v added to my sources.list two repositories that have the same program. Actually "medibuntu" and "download.skype.com" I'v installed some packages from medibuntu and previously i'v installed skype from the other repository. Now, the update manager keep telling me that i have a pending upgrade, because it's believe that the skype on medibutu's repositories are newer than the other (in fact are the same) I want to ignore the skype package from medibuntu repository... how can i accomplish that? Sorry about my English. Last edited by newtonfn; October 26th, 2007 at 11:49 PM.. |
|
|
|
|
|
#2 |
|
GMO Free Ubuntu French Roast.
![]() Join Date: Sep 2006
Location: France.
My beans are hidden!
Ubuntu 9.10 Karmic Koala
|
Re: Force upgrades from a repository
It probably has to do with the version number in the medibuntu repositories. You can comment the medibuntu repos in your sources.list, or pin the current package version with synaptic.
__________________
| Guide to Forum features | Formating text on UF with BB code tags | PUU | PUW | My blog | Linux user #413984 ; Ubuntu user #178 J'aime les fraises. Please do not blindly run commands. |
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() Join Date: Jan 2006
Location: Argentina
Beans: 72
Ubuntu 7.10 Gutsy Gibbon
|
Re: Force upgrades from a repository
Thanks bapoumba,
How can I pin the current package with synaptic but allow futhers updates from a specified repositories to the same package ? The closest thing, that's seems to work, that I found in synaptic is Force Version, but that will not let me upgrade the package anymore. |
|
|
|
|
|
#4 | |
|
GMO Free Ubuntu French Roast.
![]() Join Date: Sep 2006
Location: France.
My beans are hidden!
Ubuntu 9.10 Karmic Koala
|
Re: Force upgrades from a repository
Quote:
Package managers will always install the highest version from the repos specified in the sources.list. So if you want to keep the "download.skype.com" package, comment the medibuntu repos (you can uncomment them on the spot once to upgrade some other packages). In any case, all my third party repos are commented for day-to-day upgrades or installs. I uncomment for specific upgrades, or installs, and comment them right after that (same thing for the backports).
__________________
| Guide to Forum features | Formating text on UF with BB code tags | PUU | PUW | My blog | Linux user #413984 ; Ubuntu user #178 J'aime les fraises. Please do not blindly run commands. |
|
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: Jan 2006
Location: Argentina
Beans: 72
Ubuntu 7.10 Gutsy Gibbon
|
Re: Force upgrades from a repository
After several days without internet I could do a little more research and solve my problem. (connectivity in my country is a nightmare)
Thanks the tip about "pin a package" and thanks Google and this forum I discovered that I could create a file called /etc/preferences where I can set a priority to sources and/or packages I have created the file /etc/apt/preferences with the following text Code:
Package: * Pin: release l=Medibuntu Pin-Priority: 400 More information can be found goggling for "apt pin" A site that was very useful for me is: http://www.debian.org/doc/manuals/ap...pt-get.es.html Finaly, thank bapoumba for your assistance and patience. Fernando |
|
|
|
|
|
#6 |
|
GMO Free Ubuntu French Roast.
![]() Join Date: Sep 2006
Location: France.
My beans are hidden!
Ubuntu 9.10 Karmic Koala
|
Re: Force upgrades from a repository
Hey, that is a very elegant solution
Many thanks to you for sharing it. I knew you could pin a package version, but never looked how to set a priority to a repo. Learning new things everyday ^^
__________________
| Guide to Forum features | Formating text on UF with BB code tags | PUU | PUW | My blog | Linux user #413984 ; Ubuntu user #178 J'aime les fraises. Please do not blindly run commands. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|