Sources.list [ SOLVED ]

deb http://debian.linuxmint.com
Forum rules
Before you post please read how to get help

Sources.list [ SOLVED ]

Postby Dar-es-Salaam on Tue Nov 08, 2011 5:10 am

Hi

I have been trying to sort out a sources list and have come up with the following so that I can switch between them as I need to. Could you tell me if I have got it right or wether I am missing something out ??

#
# Latest
#
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free
#
# Testing
#
# deb http://packages.linuxmint.com/ debian main upstream import
# deb http://ftp.debian.org/debian testing main contrib non-free
# deb http://security.debian.org/ testing/updates main contrib non-free
# deb http://www.debian-multimedia.org testing main non-free
#
# Incomming
#
# deb http://packages.linuxmint.com/ debian main upstream import
# deb http://debian.linuxmint.com/incoming testing main contrib non-free
# deb http://debian.linuxmint.com/incoming/security testing/updates main contrib non-free
# deb http://debian.linuxmint.com/incoming/multimedia testing main non-free
#
# Unstable
#
# deb http://packages.linuxmint.com/ debian main upstream import
# deb http://ftp.debian.org/debian unstable main contrib non-free
# deb http://security.debian.org/ testing/updates main contrib non-free
# deb http://www.debian-multimedia.org testing main non-free

Thanking you all in advance :D :D
Last edited by Dar-es-Salaam on Mon Nov 14, 2011 6:39 am, edited 1 time in total.
Cheers
Gordon :D

O/S. LMDE , Motherboard Asus A7N8X Delux , CPU AMD XP1500+ (1300Mhz) (overclocked running at 1866Mhz), Graphics Card GeForce Nvidia PNY 6200 (512 Meg), 2 40gig hard drives, 1 gig RAM
User avatar
Dar-es-Salaam
Level 3
Level 3
 
Posts: 152
Joined: Mon Mar 01, 2010 6:23 am
Location: Blackpool, Lancashire, England, UK.

Linux Mint is funded by ads and donations.
 

Re: Sources.list

Postby gavinhc on Tue Nov 08, 2011 9:45 am

You should change your latest repos, specifically security and multimedia, to point fully to the Mint update pack repos like you have with incoming. Other than that, I don't see anything missing here.
Dar-es-Salaam wrote:deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free
AMD Athlon II X4 630, 4 GB DDR3 RAM, Nvidia GeForce GT 430 - 64-bit LMDE (Gnome3) tracking testing, 64-bit Archlinux, 32-bit Windows XP
Aluminum Unibody MacBook - MacOS X 10.7 "Lion"
gavinhc
Level 2
Level 2
 
Posts: 82
Joined: Sat Oct 16, 2010 1:53 pm
Location: Canada

Re: Sources.list

Postby twa on Tue Nov 08, 2011 12:46 pm

Dar-es-salaam
see here:
viewtopic.php?f=197&t=79533
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.
User avatar
twa
Level 4
Level 4
 
Posts: 231
Joined: Fri Sep 17, 2010 8:11 am
Location: Somewhere in the sky

Re: Sources.list

Postby jae70888 on Wed Nov 09, 2011 11:25 pm

This should be a sticky.. I couldn't find the testing repos in other threads, just incoming and latest. Thanks!
jae70888
Level 1
Level 1
 
Posts: 2
Joined: Tue Aug 23, 2011 11:15 pm

Re: Sources.list

Postby rhodry on Fri Nov 11, 2011 9:22 pm

Your 'latest' repos are not pointing to the correct place any longer. They need to be the same as you have for 'incoming' as mentioned.

Why would you have both 'testing' and 'incoming'? The only difference is a timing one. Package wise they should be identical?!

Sid/Unstable has no concept of nor need for security updates. Packages affected are changed so quickly the "security" team never pick it up. It is why there are no specific security updates for this version.

I am horrified by your "switch between them statement"!! If by that you mean you might run (say) 'latest' for a while, then comment them out and use (say) 'unstable' for a bit then return to (say) 'testing' - I can pretty much GUARANTEE you that if you run 'apt-get dist-upgrade' at each of those changes, you will bork your system!! If however, it is your intention to run 'latest' but be able to grab the odd program update from the other repos (like Iceweasel 8.0 rather than Firefox 5.0), then your most important file is /etc/apt/preferences and you have not shown us what that looks like. How you use "pinning" is the key to not "blowing" up your setup with mixed repos.

If the latter is your intention that is easy to do and I can show you how. Most of my LMDE installs run 'latest' plus 'sid/unstable' pinned for the odd program update only. In any case, if you mix repos, do not use MintUpdate for updates - use command line.

cheers,
rhodry.
Life isn't about waiting for the storm to pass...
it's about learning to dance in the rain.
rhodry
Level 4
Level 4
 
Posts: 347
Joined: Mon Jun 04, 2007 7:32 am

Re: Sources.list

Postby Dar-es-Salaam on Sat Nov 12, 2011 4:33 am

Hi rhodry,

The reason for all those repro's was that at one point I was having trouble finding a program that I wanted and I either read or it was mentioned somewhere that I should try out a different repro. Infact I actually switched to unstable to find what I wanted. Since then I have done my ususal thing and messed up my system altogeher and had to do numerious reinstallation, It is the only way that I know how to get out of trouble at the moment.
I dont loose any info that I need as I keep all that sort of stuff on a seperate drive, I learnt to do that while on on Windows as it was allways crashing.
I have booted up several times to a login screen and been able to run the ls -l command and get results but never been able to get passed it yet as I still trying to learn about linux specifically LMDE.
I did notice that testing and incomming appeared to be the same but had no idea what the difference was.
Having read your comments I guess that the best thing for me to do would be to switch to incomming and leave it at that although I used to be on testing and never had any trouble with that either.
The latest one that I have got at the moment I think came one the last time that I did a reinstall from my live iso disk but I am nolonger sure.

I dont understand what you mean by pinning and I never revert back to older versions, I always try to keep up with the newest version unless I am on Windows
Here is my /etc/apt/preferences file:-

Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release o=Debian
Pin-Priority: 500

And I have no idea what it is doing, I personally have never altered it.

If you think that I need another ine adding to Incomming then please let me know what it is and I will gladly add it

Thanks for your much needed help :D :D
Cheers
Gordon :D

O/S. LMDE , Motherboard Asus A7N8X Delux , CPU AMD XP1500+ (1300Mhz) (overclocked running at 1866Mhz), Graphics Card GeForce Nvidia PNY 6200 (512 Meg), 2 40gig hard drives, 1 gig RAM
User avatar
Dar-es-Salaam
Level 3
Level 3
 
Posts: 152
Joined: Mon Mar 01, 2010 6:23 am
Location: Blackpool, Lancashire, England, UK.

Re: Sources.list

Postby twa on Sat Nov 12, 2011 5:50 am

When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.
User avatar
twa
Level 4
Level 4
 
Posts: 231
Joined: Fri Sep 17, 2010 8:11 am
Location: Somewhere in the sky

Re: Sources.list

Postby rhodry on Sun Nov 13, 2011 3:47 am

Sorry not to get back to you earlier, but I was busy removing stuff. As of this weekend, I am no longer actually running any version of LMDE; in fact, I have removed all Linuxmint stuff from all eight machines (comprising 20 partitions). I am totally disillusioned with where LMDE is at and I had already decided that I would not use Ubuntu derivative distros any more. :( I have one "sort of" LMDE left whereby I used an LMDE-Xfce install as a starting point but updated it to run against sid/unstable only. I guess it is still sort of "Minty Sid" ?! :)

LMDE with Update Packs is NOT a rolling release and everyone should stop referring to it as such. Even if you can call Debian Testing a rolling release ( and I question that because during 2012 it will hit another X? number of months when it will be 'frozen' to new updates); the Update Packs have not been updated since August for goodness sake. Do you have any idea how many packages have been updated in Testing since then?? Many hundreds of gigabytes worth. You CANNOT possibly then call 'Latest' a rolling release.

Don't get me wrong; I fully understand why there has been such a delay, given the developers statements. I'm not blaming anyone for anything or having a go - just stating facts. You can't call a distro a rolling release if it has no updates for months on end is all. Therefore, it is no longer for me. I started using LMDE because it was advertised as a rolling release version of Linuxmint which I really wanted - and it is currently nothing of the sort. I think they have their strategy totally screwed up on what it should be and how it should work, so much potential thrown away! But hey, that's just my opinion.

I am not leaving the forums ( but my knowledge may become outdated the longer I don't use the software) so if you REALLY want to run your repos against 'Latest" with getting the odd program from Debian Unstable (like updated Firefox) I will show you how. Let me know, and best of luck.

rhodry.
Life isn't about waiting for the storm to pass...
it's about learning to dance in the rain.
rhodry
Level 4
Level 4
 
Posts: 347
Joined: Mon Jun 04, 2007 7:32 am

Re: Sources.list

Postby Dar-es-Salaam on Sun Nov 13, 2011 5:34 am

Hi rhodry,

Sorry to read that you are leaving but I wish you all the best for the future :D

I must admit that I did wonder why I wasn't getting many updates which is one of the main reasons that I was trying out so many update lists, I thought that I had got something wrong with my sources list.

Yes Please rhodry I would appreciate it if you have the time.

Is the another distro out there which is a rolling release at all ?. If there is I might have a look at it although my YL might object

Thanks again for all your help and all the best :D :D
Cheers
Gordon :D

O/S. LMDE , Motherboard Asus A7N8X Delux , CPU AMD XP1500+ (1300Mhz) (overclocked running at 1866Mhz), Graphics Card GeForce Nvidia PNY 6200 (512 Meg), 2 40gig hard drives, 1 gig RAM
User avatar
Dar-es-Salaam
Level 3
Level 3
 
Posts: 152
Joined: Mon Mar 01, 2010 6:23 am
Location: Blackpool, Lancashire, England, UK.

Re: Sources.list

Postby rhodry on Sun Nov 13, 2011 8:42 pm

@Dar-es-Salaam
Yes Please rhodry I would appreciate it if you have the time.


OK here we go:

Start this work after a fresh install of LMDE latest iso.

Note: all this work is done as superuser in the /etc/apt folder using a terminal and nano editor.
Make a backup copy of any file you change - you have been warned!! :)
If any files do not exist, create them.

You are going to store more repository data and so should increase the size of the "apt" cache.
Use sudo to add this line (note semi-colon at end required)

Code: Select all
APT::Cache-Limit "8388608";


to /etc/apt/apt.conf.

Setup your sources.list file so that it looks like:

Code: Select all
## Linuxmint standard
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
## Debian Sid/Unstable
deb http://ftp.debian.org/debian/ unstable main contrib non-free
deb http://www.debian-multimedia.org unstable main non-free


then, edit /etc/apt/preferences to look like this:

Code: Select all
Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: 500

Package: *
Pin: release a=unstable
Pin-Priority: 300


At terminal prompt do

$ sudo apt-get update

That's it for setup. You now have standard LMDE-Latest plus access to applications from Debian Unstable.

To test this setup, run the following command at a terminal prompt:

$ apt-cache policy iceweasel

As I mentioned, I don't have direct access to Mint whilst writing this so I can't show you the output; but, you should get a list of possible entries for the Iceweasel package. You should see the Mint package , v5.0.6 I think, has highest priority but Unstable should have v8.0 or so. This is how you check available versions and the installed version.

There are two ways to get a package from Unstable. The 1st tries to install the package from Unstable but rely on dependencies already in Latest. This would be

Code: Select all
$ sudo apt-get install <package>/unstable; eg sudo apt-get install iceweasel/unstable


Debian Testing (Latest) & Debian Unstable are fairly close so this may work. Apt will tell you why if it will not - invariably a missing dependency. This is safer because it will not try to drag in dependencies from Unstable. However, in my experience, rarely works well.

The other form of the command to get a package from Unstable is

Code: Select all
sudo apt-get -t unstable install <package>; eg sudo apt-get -t unstable install iceweasel


This will install the Unstable version of the package, and try to meet any dependencies from Unstable. This may produce better results. However, be careful to watch what is being installed and/or removed by this method. If unsure, stop and come here to ask first!

Upgrading

This version of 'pinning' will keep you linked to Latest whilst allowing individual packages from above. The priority numbers in /etc/apt/preferences stop "dist-upgrade" trying to upgrade your whole system to Unstable.

Even though Mint Upgrade will still work with this change, it will throw an error message at you about repos. I find it better to just do upgrades once or twice a week from a terminal command line. Remember a rolling release is designed to roll along. You should not do bulky updates if you can help it! I used

Code: Select all
$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade


At the moment though, with Latest in apparent hiatus, this still will not give you many more updates, but it will allow you to get updated individual packages.

hope this helps,
rhodry.

disclaimer: standard Debian disclaimer - You break it, you get to play with the pieces and we get to laugh at you!! :)
Life isn't about waiting for the storm to pass...
it's about learning to dance in the rain.
rhodry
Level 4
Level 4
 
Posts: 347
Joined: Mon Jun 04, 2007 7:32 am

Re: Sources.list [ SOLVED ]

Postby Dar-es-Salaam on Mon Nov 14, 2011 6:46 am

Hi rhodry

Thanks for that. I have copied all your latest post for safe keeping and future use. I will change my sources and preferences to match what you have said shortly. As you can see I have marked this as solved for the moment but if I need further assistance I will certainly put up another post here and undo the solved mark if that is allowed

Once again thanks for all your help very much appreciated :D :D

All the Best
Cheers
Gordon :D

O/S. LMDE , Motherboard Asus A7N8X Delux , CPU AMD XP1500+ (1300Mhz) (overclocked running at 1866Mhz), Graphics Card GeForce Nvidia PNY 6200 (512 Meg), 2 40gig hard drives, 1 gig RAM
User avatar
Dar-es-Salaam
Level 3
Level 3
 
Posts: 152
Joined: Mon Mar 01, 2010 6:23 am
Location: Blackpool, Lancashire, England, UK.

Linux Mint is funded by ads and donations.
 

Return to Update Packs Repositories

Who is online

Users browsing this forum: No registered users and 1 guest