digitalmars.D - Unable to install latest DMD from D-Apt
- Rene Zwanenburg (56/56) Jul 24 2013 Hi,
- H. S. Teoh (9/65) Jul 24 2013 What version of Debian are you running? It seems that you may be using a
- Rene Zwanenburg (15/93) Jul 24 2013 Thanks for the quick reply! I installed Squeeze a little less
- H. S. Teoh (15/31) Jul 24 2013 [...]
- Rene Zwanenburg (20/38) Jul 25 2013 That fixed it, thanks!
- H. S. Teoh (9/36) Jul 25 2013 [...]
- Rene Zwanenburg (2/10) Jul 25 2013
Hi, I'm mostly a windows developer, so my linux-fu is pretty non existent. I do however run some D applications on a Debian box which has been quite painless up until now. Today I tried to update DMD on the Debian box from 2.062 to 2.063.2. I removed dmd, switched to the D-Apt repository on sourceforge, updated apt-get and tried to install dmd-bin: ---- apt-get install dmd-bin Reading package lists... Done Building dependency tree Reading state information... Done 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 may help to resolve the situation: The following packages have unmet dependencies: dmd-bin : Depends: libphobos2-dev (= 2.063.2-0) but it is not going to be installed E: Broken packages ---- Installing packages which are (I think) built with the latest dmd doesn't work either: ---- apt-get install dub Reading package lists... Done Building dependency tree Reading state information... Done 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 may help to resolve the situation: The following packages have unmet dependencies: dub : Depends: libphobos2-63 but it is not going to be installed E: Broken packages ---- Out of curiosity I tried to install libphobos2-63 manually: ---- apt-get install libphobos2-63 Reading package lists... Done Building dependency tree Reading state information... Done 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 may help to resolve the situation: The following packages have unmet dependencies: libphobos2-63 : PreDepends: multiarch-support but it is not installable E: Broken packages ---- I'm not even sure where to begin. Can anyone point me in the right direction?
Jul 24 2013
On Thu, Jul 25, 2013 at 03:51:48AM +0200, Rene Zwanenburg wrote: [...]apt-get install dmd-bin Reading package lists... Done Building dependency tree Reading state information... Done 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 may help to resolve the situation: The following packages have unmet dependencies: dmd-bin : Depends: libphobos2-dev (= 2.063.2-0) but it is not going to be installed E: Broken packages ---- Installing packages which are (I think) built with the latest dmd doesn't work either: ---- apt-get install dub Reading package lists... Done Building dependency tree Reading state information... Done 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 may help to resolve the situation: The following packages have unmet dependencies: dub : Depends: libphobos2-63 but it is not going to be installed E: Broken packages ---- Out of curiosity I tried to install libphobos2-63 manually: ---- apt-get install libphobos2-63 Reading package lists... Done Building dependency tree Reading state information... Done 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 may help to resolve the situation: The following packages have unmet dependencies: libphobos2-63 : PreDepends: multiarch-support but it is not installable E: Broken packages ---- I'm not even sure where to begin. Can anyone point me in the right direction?What version of Debian are you running? It seems that you may be using a rather old release that doesn't have multiarch support yet? That will make a lot of newer things uninstallable. Try apt-get install multiarch-support and see what it says? T -- The two rules of success: 1. Don't tell everything you know. -- YHL
Jul 24 2013
Thanks for the quick reply! I installed Squeeze a little less than a year ago. When I try to install multiarch support it fails, so you're probably right about it being outdated: ---- apt-get install multiarch-support Reading package lists... Done Building dependency tree Reading state information... Done Package multiarch-support is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'multiarch-support' has no installation candidate ---- On Thursday, 25 July 2013 at 01:59:43 UTC, H. S. Teoh wrote:On Thu, Jul 25, 2013 at 03:51:48AM +0200, Rene Zwanenburg wrote: [...]apt-get install dmd-bin Reading package lists... Done Building dependency tree Reading state information... Done 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 may help to resolve the situation: The following packages have unmet dependencies: dmd-bin : Depends: libphobos2-dev (= 2.063.2-0) but it is not going to be installed E: Broken packages ---- Installing packages which are (I think) built with the latest dmd doesn't work either: ---- apt-get install dub Reading package lists... Done Building dependency tree Reading state information... Done 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 may help to resolve the situation: The following packages have unmet dependencies: dub : Depends: libphobos2-63 but it is not going to be installed E: Broken packages ---- Out of curiosity I tried to install libphobos2-63 manually: ---- apt-get install libphobos2-63 Reading package lists... Done Building dependency tree Reading state information... Done 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 may help to resolve the situation: The following packages have unmet dependencies: libphobos2-63 : PreDepends: multiarch-support but it is not installable E: Broken packages ---- I'm not even sure where to begin. Can anyone point me in the right direction?What version of Debian are you running? It seems that you may be using a rather old release that doesn't have multiarch support yet? That will make a lot of newer things uninstallable. Try apt-get install multiarch-support and see what it says? T
Jul 24 2013
On Thu, Jul 25, 2013 at 04:15:39AM +0200, Rene Zwanenburg wrote:Thanks for the quick reply! I installed Squeeze a little less than a year ago. When I try to install multiarch support it fails, so you're probably right about it being outdated: ---- apt-get install multiarch-support Reading package lists... Done Building dependency tree Reading state information... Done Package multiarch-support is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'multiarch-support' has no installation candidate ----[...] What are the contents of your /etc/apt/sources.list? If you don't have any strong reason for staying with the old release, it's probably worth your while to add this line to your sources.list: deb http://ftp.debian.org/debian stable main contrib non-free then run apt-get update, and apt-get dist-upgrade to auto-upgrade to the latest stable release, which does support multiarch. (It might take a while to do it, though, so you could leave it running overnight.) Or, if you're feeling adventurous, use "testing" instead of "stable". Truth be told, 'testing' is actually far more stable than official releases of certain popular OSes IME. T -- Let's call it an accidental feature. -- Larry Wall
Jul 24 2013
That fixed it, thanks! One more question about my current sources.list: ---- deb http://ftp.nl.debian.org/debian/ squeeze main non-free deb-src http://ftp.nl.debian.org/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://ftp.nl.debian.org/debian/ squeeze-updates main deb-src http://ftp.nl.debian.org/debian/ squeeze-updates main deb http://ftp.de.debian.org/debian-backports squeeze-backports main deb http://ftp.debian.org/debian stable main contrib non-free ---- Should I now remove the squeeze sources, or replace them for something else? On Thursday, 25 July 2013 at 04:09:46 UTC, H. S. Teoh wrote:What are the contents of your /etc/apt/sources.list? If you don't have any strong reason for staying with the old release, it's probably worth your while to add this line to your sources.list: deb http://ftp.debian.org/debian stable main contrib non-free then run apt-get update, and apt-get dist-upgrade to auto-upgrade to the latest stable release, which does support multiarch. (It might take a while to do it, though, so you could leave it running overnight.) Or, if you're feeling adventurous, use "testing" instead of "stable". Truth be told, 'testing' is actually far more stable than official releases of certain popular OSes IME. T
Jul 25 2013
On Thu, Jul 25, 2013 at 02:04:17PM +0200, Rene Zwanenburg wrote:That fixed it, thanks! One more question about my current sources.list: ---- deb http://ftp.nl.debian.org/debian/ squeeze main non-free deb-src http://ftp.nl.debian.org/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://ftp.nl.debian.org/debian/ squeeze-updates main deb-src http://ftp.nl.debian.org/debian/ squeeze-updates main deb http://ftp.de.debian.org/debian-backports squeeze-backports main deb http://ftp.debian.org/debian stable main contrib non-free ---- Should I now remove the squeeze sources, or replace them for something else?[...] For best results, replace all occurrences of "squeeze" with "stable" (and remove the line you added, since it will be identical with one of the previous lines). That way, it will automatically pick up the next stable release when it's released. T -- Always remember that you are unique. Just like everybody else. -- despair.com
Jul 25 2013
Okay great. Thanks again for your help. On Thursday, 25 July 2013 at 15:01:59 UTC, H. S. Teoh wrote:For best results, replace all occurrences of "squeeze" with "stable" (and remove the line you added, since it will be identical with one of the previous lines). That way, it will automatically pick up the next stable release when it's released. T
Jul 25 2013