Re: how to update Debian OS properly

2012-05-28 Thread Andrei POPESCU
On Lu, 28 mai 12, 02:21:39, Muhammad Yousuf Khan wrote: [snip] Must read: http://www.debian.org/doc/manuals/debian-reference/ (or as package debian-reference) Kind regards, Andrei -- Offtopic discussions among Debian users and developers:

Re: how to update Debian OS properly

2012-05-27 Thread Tom H
On Sat, May 26, 2012 at 1:04 PM, Andrei POPESCU andreimpope...@gmail.com wrote: On Vi, 25 mai 12, 15:36:40, Ralf Mardorf wrote: On Fri, 2012-05-25 at 18:28 +0500, Muhammad Yousuf Khan wrote: In conclusion i found out that i should stick to stable and should not play with the source list until

Re: how to update Debian OS properly

2012-05-27 Thread Muhammad Yousuf Khan
On Sat, May 26, 2012 at 10:39 PM, Lisi lisi.re...@gmail.com wrote: On Saturday 26 May 2012 18:04:35 Andrei POPESCU wrote: I seem to remember the Debian Reference has a good guide to pinning and it is up-to-date (thanks to Osamu Aoki). Given the OP's confusion, and the fact that he states his

Re: how to update Debian OS properly

2012-05-27 Thread Muhammad Yousuf Khan
On Sat, May 26, 2012 at 7:17 PM, Lisi lisi.re...@gmail.com wrote: On Saturday 26 May 2012 12:43:45 you wrote: I prefer to use aptitude full-upgrade routinely - but I have the code name in my sources.list, not stable or testing.  I then change the code name when I want to get the more recent

Re: how to update Debian OS properly

2012-05-27 Thread Lisi
On Sunday 27 May 2012 22:21:39 you wrote: On Sat, May 26, 2012 at 7:17 PM, Lisi lisi.re...@gmail.com wrote: On Saturday 26 May 2012 12:43:45 you wrote: I prefer to use aptitude full-upgrade routinely - but I have the code name in my sources.list, not stable or testing.  I then change the

Re: how to update Debian OS properly

2012-05-26 Thread Muhammad Yousuf Khan
On Sat, May 26, 2012 at 1:30 AM, Lisi lisi.re...@gmail.com wrote: On Friday 25 May 2012 18:23:37 Tom H wrote: On Fri, May 25, 2012 at 11:53 AM, Mika Suomalainen mika.henrik.mai...@hotmail.com wrote: On 25.05.2012 15:49, Ralf Mardorf wrote: On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf

Re: how to update Debian OS properly

2012-05-26 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 6:36 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Fri, 2012-05-25 at 18:28 +0500, Muhammad Yousuf Khan wrote: In conclusion i found out that i should stick to stable and should not play with the source list until unless it is necessary. even if i add a repo

Re: how to update Debian OS properly

2012-05-26 Thread keith
On Sat, 26 May 2012 16:43:45 +0500 Muhammad Yousuf Khan sir...@gmail.com wrote: if i use Squeeze (the code name) instead stable, sid or anything. should i not to worry about system crash? is it what people here mean to say (who support code name squeeze ) that if i apt-get

Re: how to update Debian OS properly

2012-05-26 Thread keith
On Sat, 26 May 2012 17:06:04 +0500 Muhammad Yousuf Khan sir...@gmail.com wrote: i was reading this article and it is very helpful and something new that i learned but i am a bit confuse. how come i be safe in this technique because what this article is saying means if i wanted to install a

Re: how to update Debian OS properly

2012-05-26 Thread Joe
On Sat, 26 May 2012 16:43:45 +0500 Muhammad Yousuf Khan sir...@gmail.com wrote: if i use Squeeze (the code name) instead stable, sid or anything. should i not to worry about system crash? is it what people here mean to say (who support code name squeeze ) that if i apt-get

Re: how to update Debian OS properly

2012-05-26 Thread Lisi
On Saturday 26 May 2012 12:43:45 you wrote: I prefer to use aptitude full-upgrade routinely - but I have the code name in my sources.list, not stable or testing. I then change the code name when I want to get the more recent version. So, Squeeze not stable, Muhammad. you could get in

Re: how to update Debian OS properly

2012-05-26 Thread Andrei POPESCU
On Sb, 26 mai 12, 13:39:26, keith wrote: My understanding is - If you apt-get upgrade, you are updating your system (squeeze) When you use apt-get dist-upgrade you change your system from squeeze to wheezy No, see 'man apt-get' for the difference between the two. Kind regards, Andrei

Re: how to update Debian OS properly

2012-05-26 Thread Andrei POPESCU
On Vi, 25 mai 12, 15:36:40, Ralf Mardorf wrote: On Fri, 2012-05-25 at 18:28 +0500, Muhammad Yousuf Khan wrote: In conclusion i found out that i should stick to stable and should not play with the source list until unless it is necessary. even if i add a repo then i must comment it after

Re: how to update Debian OS properly

2012-05-26 Thread Lisi
On Saturday 26 May 2012 18:04:35 Andrei POPESCU wrote: I seem to remember the Debian Reference has a good guide to pinning and it is up-to-date (thanks to Osamu Aoki). Given the OP's confusion, and the fact that he states his main aim as not crashing, would he not do better to stick to pure

Re: how to update Debian OS properly

2012-05-26 Thread Ralf Mardorf
FWIW, sometime ago this book was announced here: http://debian-handbook.info/browse/stable/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive:

Re: how to update Debian OS properly

2012-05-26 Thread keith
On Sat, 26 May 2012 19:57:19 +0300 Andrei POPESCU andreimpope...@gmail.com wrote: On Sb, 26 mai 12, 13:39:26, keith wrote: My understanding is - If you apt-get upgrade, you are updating your system (squeeze) When you use apt-get dist-upgrade you change your system from squeeze to

how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
well, I have questions about upgrading Linux. since i have been using Microsoft for years the concept of upgrade I think is different from Linux upgrade. in a testing environment I was trying to upgrade the security patches and I run the command apt-get upgrade. It ran fine, but at the end it

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
PS: I like Synaptic, a GUI for the package management. It automatically set up an upgrade history. You manually can set up a history when using apt, however, Synaptic is very comfortable. A history provides information this way: package_name (1.11.4) to 1.12.0 Note, for the standard

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 15:57 +0500, Muhammad Yousuf Khan wrote: 3. how to revert back to old OS, for example, in my case i upgraded my system from 6.0.4 to Wheezy/SID now want to revert things back. If your repositories are explicit for stable, than there shouldn't happen an upgrade to testing

Re: how to update Debian OS properly

2012-05-25 Thread rjc
On Fri, May 25, 2012 at 11:57:28AM BST, Muhammad Yousuf Khan wrote: well, I have questions about upgrading Linux. since i have been using Microsoft for years the concept of upgrade I think is different from Linux upgrade. in a testing environment I was trying to upgrade the security patches

Re: how to update Debian OS properly

2012-05-25 Thread Kumar Appaiah
On Fri, May 25, 2012 at 03:57:28PM +0500, Muhammad Yousuf Khan wrote: in a testing environment I was trying to upgrade the security patches and I run the command apt-get upgrade. It ran fine, but at the end it upgraded my whole OS, first my test machine was showing Debian version 6.0.4 now

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 06:42 -0500, Kumar Appaiah wrote: I'd advise you to back up things and do a fresh install of squeeze. things for your current install might be /home only. Perhaps xorg.conf and some other files, using cp -pr while you're root. But in the future completely backup using e.g.

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 4:32 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Fri, 2012-05-25 at 15:57 +0500, Muhammad Yousuf Khan wrote: 3. how to revert back to old OS, for example, in my case i upgraded my system from 6.0.4 to Wheezy/SID now want to revert things back. If your

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 4:42 PM, Kumar Appaiah a.ku...@alumni.iitm.ac.in wrote: On Fri, May 25, 2012 at 03:57:28PM +0500, Muhammad Yousuf Khan wrote: in a testing environment I was trying to upgrade the security patches and I run the command apt-get upgrade. It ran fine, but at the end it

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 17:19 +0500, Muhammad Yousuf Khan wrote: cd /path/to/debian_stable tar czf backup_name.tar.gz * will clonezilla live CD work in this case? as i am using it very often and a bit useto with it. AFAIK yes, Clonezilla should be ok. now this snapshots point raising one

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 4:54 PM, rjc r...@linuxstuff.pl wrote: On Fri, May 25, 2012 at 11:57:28AM BST, Muhammad Yousuf Khan wrote: well, I have questions about upgrading Linux. since i have been using Microsoft for years the concept of upgrade I think is different from Linux upgrade. in a

Re: how to update Debian OS properly

2012-05-25 Thread Brian
On Fri 25 May 2012 at 15:57:28 +0500, Muhammad Yousuf Khan wrote: So the question are 1. how to upgrade only the security patches? Install stable and stick with it. Do not be tempted to alter sources.list in /etc/apt/ 2. if the upgrade patch trigger any critical issue. Like any service

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://backports.debian.org/debian-backports squeeze-backports main deb http://ftp.de.debian.org/debian sid main

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 5:49 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb

Re: how to update Debian OS properly

2012-05-25 Thread rjc
On Fri, May 25, 2012 at 01:37:16PM BST, Muhammad Yousuf Khan wrote: 1. how to upgrade only the security patches? aptitude update aptitude safe-upgrade [1] ok it will only update the security patches, no matter if what ever i write in source.list? No, this will upgrade any upgradeable

Re: how to update Debian OS properly

2012-05-25 Thread keith
On Fri, 25 May 2012 17:37:16 +0500 Muhammad Yousuf Khan sir...@gmail.com wrote: [...] [0] It seems like you had several entries in your sources.list file(s) - post the content of your file here. deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
ok found a website for which generates source.list http://debgen.simplylinux.ch/ deb http://ftp.us.debian.org/debian stable main contrib non-free deb-src http://ftp.us.debian.org/debian stable main contrib non-free deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free deb-src

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 14:06 +0100, rjc wrote: Lenny to squeeze upgrade is somewhat different, you need to have entries for both of these releases in you sources.list file(s). On Fri, 2012-05-25 at 17:58 +0500, Muhammad Yousuf Khan wrote: ok ill comment the sid repo. but would you please give

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 4:47 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: PS: I like Synaptic, a GUI for the package management. It automatically set up an upgrade history. You manually can set up a history when using apt, however, Synaptic is very comfortable. A history provides

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 18:28 +0500, Muhammad Yousuf Khan wrote: In conclusion i found out that i should stick to stable and should not play with the source list until unless it is necessary. even if i add a repo then i must comment it after installing the whatever package Yesno. I'll say yes,

Re: how to update Debian OS properly

2012-05-25 Thread Andrei POPESCU
On Vi, 25 mai 12, 14:49:26, Ralf Mardorf wrote: On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://backports.debian.org/debian-backports squeeze-backports

Re: how to update Debian OS properly

2012-05-25 Thread Tom H
On Fri, May 25, 2012 at 8:49 AM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 18:36 +0500, Muhammad Yousuf Khan wrote: A history provides information this way: package_name (1.11.4) to 1.12.0 do you know any CLI work in same way. i am not using GUI. A script using apt, aptitude or dpkg might be able to generate a history too. I once used

Re: how to update Debian OS properly

2012-05-25 Thread Andrei POPESCU
On Vi, 25 mai 12, 15:16:04, Ralf Mardorf wrote: Instead of e.g. deb http://ftp.us.debian.org/debian squeeze main non-free contrib use deb http://ftp.us.debian.org/debian stable main non-free contrib Than you'll get stable, what ever it's named. ... but it might catch you unprepared if

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 16:50 +0300, Andrei POPESCU wrote: On Vi, 25 mai 12, 15:16:04, Ralf Mardorf wrote: Instead of e.g. deb http://ftp.us.debian.org/debian squeeze main non-free contrib use deb http://ftp.us.debian.org/debian stable main non-free contrib Than you'll get stable,

Re: how to update Debian OS properly

2012-05-25 Thread Andrei POPESCU
On Vi, 25 mai 12, 15:45:30, Ralf Mardorf wrote: On Fri, 2012-05-25 at 18:36 +0500, Muhammad Yousuf Khan wrote: A history provides information this way: package_name (1.11.4) to 1.12.0 do you know any CLI work in same way. i am not using GUI. A script using apt, aptitude or

RE: how to update Debian OS properly

2012-05-25 Thread Bonno Bloksma
Hi, Instead of e.g. deb http://ftp.us.debian.org/debian squeeze main non-free contrib use deb http://ftp.us.debian.org/debian stable main non-free contrib Than you'll get stable, what ever it's named. ... but it might catch you unprepared if you don't follow release announcements. And

Re: how to update Debian OS properly

2012-05-25 Thread rjc
On Fri, May 25, 2012 at 02:46:50PM BST, Tom H wrote: On Fri, May 25, 2012 at 8:49 AM, Ralf Mardorf You're issue is related to the sid repository. If you need something from sid, then uncomment it and after that comment it. Don't feel secure using pinning. You can name the repositories

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 16:45 +0300, Andrei POPESCU wrote: - one will not be aware of any possibly security related updates Good point -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive:

Re: how to update Debian OS properly

2012-05-25 Thread Camaleón
On Fri, 25 May 2012 15:57:28 +0500, Muhammad Yousuf Khan wrote: well, I have questions about upgrading Linux. since i have been using Microsoft for years the concept of upgrade I think is different from Linux upgrade. in a testing environment I was trying to upgrade the security patches

Re: how to update Debian OS properly

2012-05-25 Thread Indulekha
On Fri, May 25, 2012 at 06:42:53AM -0500, Kumar Appaiah wrote: On Fri, May 25, 2012 at 03:57:28PM +0500, Muhammad Yousuf Khan wrote: in a testing environment I was trying to upgrade the security patches and I run the command apt-get upgrade. It ran fine, but at the end it upgraded my

Re: Re: how to update Debian OS properly

2012-05-25 Thread Clive Standbridge
deb http://ftp.us.debian.org/debian stable main contrib non-free deb-src http://ftp.us.debian.org/debian stable main contrib non-free deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free deb

Re: how to update Debian OS properly

2012-05-25 Thread Mika Suomalainen
On 25.05.2012 15:49, Ralf Mardorf wrote: On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://backports.debian.org/debian-backports squeeze-backports main deb

Re: how to update Debian OS properly

2012-05-25 Thread Sven Joachim
On 2012-05-25 17:53 +0200, Mika Suomalainen wrote: Is it safe to use stable instead of squeeze? No, this is very much not recommended. Are there usually any conflicts or anything what would need full-upgrade whenever new stable is named? Yes, about every two years when a new major Debian

Re: how to update Debian OS properly

2012-05-25 Thread Tom H
On Fri, May 25, 2012 at 11:53 AM, Mika Suomalainen mika.henrik.mai...@hotmail.com wrote: On 25.05.2012 15:49, Ralf Mardorf wrote: On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/

Re: how to update Debian OS properly

2012-05-25 Thread keith
On Fri, 25 May 2012 18:28:29 +0500 Muhammad Yousuf Khan sir...@gmail.com wrote: ok found a website for which generates source.list http://debgen.simplylinux.ch/ deb http://ftp.us.debian.org/debian stable main contrib non-free deb-src http://ftp.us.debian.org/debian stable main contrib

Re: how to update Debian OS properly

2012-05-25 Thread keith
On Fri, 25 May 2012 19:38:31 +0100 keith km3...@gmail.com wrote: deb http://ftp.us.debian.org/debian stable main contrib non-free deb-src http://ftp.us.debian.org/debian stable main contrib non-free My apologies, I somehow missed that, as someone else has pointed out. Use squeeze not

Re: how to update Debian OS properly

2012-05-25 Thread Lisi
On Friday 25 May 2012 18:23:37 Tom H wrote: On Fri, May 25, 2012 at 11:53 AM, Mika Suomalainen mika.henrik.mai...@hotmail.com wrote: On 25.05.2012 15:49, Ralf Mardorf wrote: On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: deb http://security.debian.org/ squeeze/updates main

Re: how to update Debian OS properly

2012-05-25 Thread Jon Dowland
On Fri, May 25, 2012 at 02:17:35PM +0200, Ralf Mardorf wrote: things for your current install might be /home only. Perhaps xorg.conf and some other files, using cp -pr while you're root. But in the future completely backup using e.g. tar. Note, if you sync, you anyway might lose data, since