Debian :: Why Not Change Sources.list / Do Dist-upgrade
Feb 8, 2010
My friend has an ubuntu 810 machine and he wants to remove it and install debian on that.Instead of cleaning and installing, I thought why not change the sources.list and do a dist-upgrade to debian. In case it is required, I dont mind purging packages like x or desktop etc. from ubuntu to make it thin before upgrading to debian.Has anyone tried this approach instead of a clean install?
I am curious that if I change the sources list to include "stable" instead of "lenny" (for the Lenny release, for example) will my system upgrade to the Squeeze sources when Debian Squeeze becomes the new stable and Lenny is the oldstable? I'm brand-spanking-new to Debian and I love stability (for my workstation) but I also need a lot of features that are only available with some newer packages. I plan on having to compile a lot of packages from source but I would really like to be able to ignore making changes to my sources list. Will changing "lenny" to "stable" make this work?
After running a dist-upgrade (from stable to testing) KDE stopped working, all I get (after login in with lightdm) are the modals you can see in the attachments . I do not think it is an X issue, because I can login using lightdm (and MATE is working fine).
I suspect this is because I had KDE installed before running the upgrade. The things I tried so far are:
- Runing "apt-get remove kdelibs-bin kdelibs5-data" . Then "apt-get autoremove". I did it to remove every KDE related package, after that, I ran "aptitude purge '~c' " to clean all config files. And finally "apt-get install kde-standard" to get KDE again. - Removed .cache, .config and .kde folders. Also removed .lock files in .config folder, as I saw somewhere. - Looked for some log files, but I could not find anything (I don't even know where to look really )
This is almost a fresh debian install so I don't mind breaking things, but I would like to get KDE working.
I have been using Debian for around two years now. I have a small home server running Debian stable i386 and keep it regularly updated (once or twice a week I perform apt-get update and afterwards apt-get dist-upgrade). The system was originally installed with Debian Wheezy and afterwards upgraded.
However, after entering dist-upgrade tonight, around 42 packages had to be updated. I agreed and afterwards got some errors. After apt-get install -f, the result is as follows:
Code: Select allnickolay@tegulicium:$ sudo apt-get install -f Reading package lists ... Done Building dependency tree Reading state information ... Done
After rebooting the system, I am presented with the Debian Maintenance mode (root password for maintenance or Control-D to continue).
I tried dpkg --configure -a, apt-get install -f and aptitude install -f.
Unfortunately, still no resolution of the conflicts.
I assume this has to do something with the new Jessie 8.2 release ...
After yesterday's apt-get dist-upgrade, I lost my higher screen resolutions. Only had 800x600 and 640x480. After trying to re-install the Nvidia drivers several different ways without success, I ended up purging xorg and xserver and then starting from scratch, re-installing the drivers. In doing so, I either found the problem, or created another, ha.I think part of the problem was that I mixed Nvidia proprietary and debian installations and the update broke the drivers.I am now unable to install xorg or xserver because I can not remove/purge libgl1-nvidia-alternatives.
I just upgraded from Debian 8.1 stable to testing and finally to unstable, looking for latest software.However, I cannot find sources for security or software updates, the only repository that works from me is
today i finished my first debian lenny install. x86 version. i ran into problem with sources.list # deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 CD Binary-1 20100131-18:53]/ lenny main deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 CD Binary-1 20100131-18:53]/ lenny main
# Line commented out by installer because it failed to verify: #deb http://security.debian.org/ lenny/updates main # Line commented out by installer because it failed to verify: #deb-src http://security.debian.org/ lenny/updates main # Line commented out by installer because it failed to verify: #deb http://volatile.debian.org/debian-volatile lenny/volatile main # Line commented out by installer because it failed to verify: #deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
I tried using sarge release for debian and I don't know what sources.list to use because in all the generators I can only choose Lenny, Sid, Squeeze or Etch release. What release should I use with Sarge? Or where do I get sources.list especially for it?
I have created a custom debian netinst USB stick. It has the default UK repositories in the sources list, but people in the US also need to use the stick from time-to-time.
Would it be a bad idea to mix US and UK repositories in the sources.list? Would Debian be clever enough to pick up the best repo depending on where the user is using the OS from? Or would I need to be a bit clever and create some sort of script to deal with this. (I am avoiding non-free/experimental software).
I use Debian testing for six months and I started used it six months ago. I use apt-get distupgrade for long times , but today after apt-get update and apt-get dist-upgrade , my system reboot and can not boot and I see URL...and system can not , I see this errors after grub
I'm running debian testing on my laptop. This morning when I ran apt-get update && apt-get dist-upgrade, I was greeted by the following errors:
Code: Select all
Calculating upgrade... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information to resolve the situation:
The following packages have unmet dependencies:
libcurl3-gnutls : Depends: librtmp1 (>= 2.4+20131018.git79459a2-3~) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
A quick search found out that package librtmp1(2:2.4~20150315.gita107cef9b-dmo1) is already installed.
I do have some packages set on hold, however I don't think that's the problem:
Code: Select all$ dpkg --get-selections | grep hold hostapd hold libgcrypt11:amd64 hold linux-image-amd64 hold
My sources.list on which I haven't touched for a very long time:
Code: Select alldeb http://mirrors.163.com/debian/ testing main non-free contrib deb-src http://mirrors.163.com/debian/ testing main non-free contrib
deb http://mirrors.163.com/debian-security/ testing/updates main contrib non-free deb-src http://mirrors.163.com/debian-security/ testing/updates main contrib non-free
deb http://mirrors.163.com/debian/ testing-updates main contrib non-free deb-src http://mirrors.163.com/debian/ testing-updates main contrib non-free
This is on my AMD64 Testing box...A couple days ago during an apt-get dist-upgrade, near the end I saw the errors below.
I haven't noticed anything broken, yet. I usually only see dkms errors when VBox squawks after an update and I run /etc/init.d vboxdrv setup.
The section of the results containing the errors to the end of the output:
Code: Select allSetting up linux-image-4.3.0-1-amd64 (4.3.5-1) ... /etc/kernel/postinst.d/dkms: error: db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages index using db5 - (-30969) error: cannot open Packages database in /root/.rpmdb error: db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
Last night I tried updating from Testing to Sid. Big mistake. Not sure what I did wrong... I changed my repos to sid, and did the usual update / dist-upgrade / autoclean / autoremove. I did not see any significant error messages during the update process. Now, I had fluxbox, gnome and openbox installed. The weird thing is after rebooting I could no longer boot into gnome or openbox as they had merged into something GNOME/Openbox, which was essentially the openbox panel, the nautilus menu on right click, and nothing else. So I purged them both but now when I try to reinstall gnome I get unresolvable dependencies (at least in the sense that both apt-get and aptitude fail to resolve them). fluxbox is still working fine, although it's missing a few things as I was using many gnome apps inside fluxbox.
Whenever I run $aptitude update I get this error :-
W: Duplicate sources.list entry http://ftp.us.debian.org/debian/ stable/non-free amd64 Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_non-free_binary-amd64_Packages) W: You may want to run apt-get update to correct these problems
i got Debian Lenny 5.0.1 and i'm trying to install the OSCAR cluster.I need to upgrade my OS with the packages in URL...which corresponds to my arch. I'd read while searchin' on web that i need to modify my /etc/sources.list file.
I just installed Debian 6.0 using the large installation image and a KDE environment now I am having issues setting up my sources.list file so that I can get all my updates over the internet. My current sources.list file looks like this:
# # deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official amd64 DVD Binary-1 20110205-18:15]/ squeeze contrib main
I started using Ubuntu about 2 months ago, and having been studying every day since. About 2 days ago, I downloaded a copy of i386 Squeeze, and installed it onto an old extra machine (Dell 2350 tower, 768 MB RAM, 30 GB HD, Ethernet broadband) as a learning project.
During the install, I chose to not specify an online mirror. (I was trying to keep things as simple as possible, and save time while I was at it.) I didn't realize that by not specifying a mirror, the new system wouldn't have any links for finding new software. (In Ubuntu, it was automated and required no input &/or editing from me.) Reading posts at this forum, I learned that I need to edit the sources.list file. This was my first attempt at editing a Linux system script file, and I wasn't able to manage doing that. I chose to open it using gedit, and found I couldn't change its contents. I figured out then, that it was read-only.
updated my jessie by apt-get dist-upgrade and there was an error said there was something wrong with some database, and I needed to run some command, but after the upgrade I forgot to run the command. After I rebooted my system I found there was not any password needed for a normal user or the root. But if I change to the emergency mode, a root password is needed.