On Jan 3, 2015 11:14 AM, "Michael Havens" <bmike1@gmail.com> wrote:
>
> so then, <version> is just for lower than the version that are in the apt-cache.
Actually, the version you want has to be in your sources.list.
glad I'm talking to you all about this because I just discovered that after you run <package>=<version> you need to run :
>
> sudo echo “package hold” | sudo dpkg –set-selections
Only if you don't want the package upgraded at the next apt-get upgrade.
>
> I also discovered that to find the versions in the repository you run:
>
> apt-cache showpkg packagename
>
> so is there no way to force a version into apt-cache?
The sources.list just says where to find a package. Sort of like a big phone book...if you don't have the white pages for Ajo, you can't find your friend's phone number who lives in Ajo. Once you get the Ajo book, you have access to everyone's phone number in Ajo, but you are only interested in your friend's number.
Pinning tells apt to only use the 2011 edition of the Ajo phone book to look up your friend's phone number, even though you now subscribe to the latest version of the Ajo phone book. You still have all the latest phone numbers on hand, which does not impact your selection of the 2011 phone number for your friend's phone number.
I just tried to force the installation of the unstable version of the package (sudo apt-get install kmymoney/unstable) but it seems as if it isn't called 'unstable' in mint (ubuntu). Am I doing it wrong? What are the Archives called in Mint (ubuntu)
Sorry, I have never used mint. Just a long time Debian user who recently switched to Ubuntu for my desktop with my new laptop...It came pre-installed. ;-)
Mark
>
> :-)~MIKE~(-:
>
> On Sat, Jan 3, 2015 at 10:32 AM, Michael Havens <bmike1@gmail.com> wrote:
>>
>> help immensely. Thank you Mark.
>>
>> :-)~MIKE~(-:
>>
>> On Sat, Jan 3, 2015 at 9:08 AM, Mark Phillips <mark@phillipsmarketing.biz> wrote:
>>>
>>> Michael,
>>>
>>> If all you have is the stable branch in your sources.list, then you won't have access to any of the testing packages, even if you specify testing on the command line with apt-get. apt-get has to know where to find the package you want to download, which is why sources.list exists. If you want to be able to install both testing and stable packages, then you have to have both stable and testing branches listed in your sources.list.
>>>
>>> If you want to hold a package to a specific version or branch (stable, testing, experimental), then you can "pin" that package to that version, and all future updates will only use that version. Take a look at http://jaqque.sbih.org/kplug/apt-pinning.html. However, you still have to have the correct repositories listed in sources.list, and you have to run an apt-get upgrade to update the local cache so the OS knows where to find the packages you want.
>>>
>>> Hope that helps!
>>>
>>> Mark
>>>
>>> On Sat, Jan 3, 2015 at 1:02 AM, Michael Havens <bmike1@gmail.com> wrote:
>>>>
>>>> A specific version of a package can be selected for installation by
>>>> following the package name with an equals (=) and the version of the package to select. This will cause that version to be located and selected for install. Alternatively, a specific distribution can be selected by following the package name with a slash (/) and the version of the distribution or the Archive name (i.e. stable, testing, unstable).
>>>>
>>>> source: http://linux.die.net/man/8/apt-get
>>>>
>>>>
>>>> So this is saying to me you don't need the PPA to install the latest version but can instead do:
>>>> <package>=<version>
>>>>
>>>> If that is so we don't need to add PPAs to our systems. IN other words PPAs are just a way to make it so that we are always running the latest version of the package regardless of if it works whereas we choose what we want to run with:
>>>> <package>=<version>
>>>> That is very Linuxy of them!
>>>> :-)~MIKE~(-:
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>>
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss