I understand now that when getting packages, the FIRST priority is the "standard" set of jessie repositories, and the SECOND priority is downloading the package from individual web pages. Adding additional repositories is a distant third if at all.
Yes, but I was specifically referring to the fact that they are NOT IN THE REPOSITORIES. QUESTION 24: Shouldn't they be? Isn't the whole idea to take ALL of the packages that exist and are reasonably bug-free and put them into one place? I was concerned that if I DON'T install the "right" way I would just paint myself into a corner again.Head_on_a_Stick wrote:I have already provided a link to the package page for DOSBox in this post:
http://forums.debian.net/viewtopic.php?p=618221#p618221
Here is the page for build-essential:
https://packages.debian.org/jessie/build-essential
I unchecked
Code: Select all
deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie main contrib
Code: Select all
deb http:// security.debian.org/ jessie/updates contrib main
deb http://ftp.debian.org/debian/ jessie-updates contrib main
deb http://ftp.debian.org/debian/ jessie-backports contrib main
I didn't include the source repositories or any "non-free" sections. QUESTION 25: Should I have included non-free or made any other changes to the above?
Also, I had added the following lines to /etc/apt/apt.conf.d/70debconf:
Code: Select all
// auto-remove breaks on meta packages
APT::Get::AutomaticRemove "0";
APT::Get::HideAutoRemove "1";
// Recommends are as of now still abused in many packages
APT::Install-Recommends "0";
APT::Install-Suggests "0";
Debug::pkgAutoRemove "0";
// PDiffs reduce the required download for apt-get update, but increase the
// CPU requirements and quite often fail.
Acquire::PDiffs "0";
// Remove apt unauthenticated warnings
APT::Get::AllowUnauthenticated "0";
I went to the jessie/build-essential web page and it said "if you do not plan to build Debian packages, you don't need this package". I don't plan to build Debian packages, but I do do compiles, so I chose to install it anyway. QUESTION 27: would I have been better off just installing the gcc, libc6, and perhaps make packages instead? When I reached the download page, I saw the line "if you are running Debian, it is strongly suggested to use a package manager like aptitude or synaptic to download and install packages, instead of doing so manually via this website". QUESTION 28: How can I do that if this package is not in any of the repositories?
I downloaded build-essential_11.7_amd64.deb and moved it to /ddisk/l/packages. I then entered "apt install --no-install-recommends build-essential" knowing it wouldn't work because apt-get HAS NO IDEA where I put it:
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential 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 'build-essential' has no installation candidate
So I try "dpkg --install /ddisk/l/packages/build-essential_11.7_amd64.deb" instead, and this is what I got:
Code: Select all
Selecting previously unselected package build-essential.
(Reading database ... 119559 files and directories currently installed.)
Preparing to unpack .../build-essential_11.7_amd64.deb ...
Unpacking build-essential (11.7) ...
dpkg: dependency problems prevent configuration of build-essential:
build-essential depends on libc6-dev | libc-dev; however:
Package libc6-dev is not installed.
Package libc-dev is not installed.
build-essential depends on gcc (>= 4:4.9.1); however:
Package gcc is not installed.
build-essential depends on g++ (>= 4:4.9.1); however:
Package g++ is not installed.
build-essential depends on make; however:
Package make is not installed.
build-essential depends on dpkg-dev (>= 1.17.11); however:
Package dpkg-dev is not installed.
dpkg: error processing package build-essential (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
build-essential
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
Suggested packages:
glibc-doc
The following packages will be REMOVED:
build-essential
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 1 to remove and 206 not upgraded.
1 not fully installed or removed.
Need to get 4,666 kB of archives.
After this operation, 29.7 kB disk space will be freed.
Do you want to continue? [Y/n] {I replied y-Enter of course}
Get:1 http://security.debian.org/ jessie/updates/main libc6 amd64 2.19-18+deb8u3 [4,666 kB]
Fetched 4,666 kB in 0s (4,819 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 119567 files and directories currently installed.)
Removing build-essential (11.7) ...
(Reading database ... 119559 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-18+deb8u3_amd64.deb ...
Unpacking libc6:amd64 (2.19-18+deb8u3) over (2.19-18+deb8u1) ...
Setting up libc6:amd64 (2.19-18+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
Before my latest root partition restore, I WAS able to install both gcc and DOSBox and make them work successfully. I'm not sure how I did that; it was with a lot of changing parameters and flailing around. But I was concerned that I didn't do it the right way, and broke something else by doing so. This time I want to do it right.
Yes.Head_on_a_Stick wrote:Do you have an internet connection?
Build-essential above, dosbox below.Head_on_a_Stick wrote:Please post the full output of:Code: Select all
# apt install dosbox build-essential
Code: Select all
"dpkg --install /ddisk/l/packages/dosbox_0.74-4_amd64.deb"
Selecting previously unselected package dosbox.
(Reading database ... 119559 files and directories currently installed.)
Preparing to unpack .../dosbox_0.74-4_amd64.deb ...
Unpacking dosbox (0.74-4) ...
dpkg: dependency problems prevent configuration of dosbox:
dosbox depends on libsdl-net1.2; however:
Package libsdl-net1.2 is not installed.
dosbox depends on libsdl-sound1.2 (>= 1.0.1); however:
Package libsdl-sound1.2 is not installed.
dpkg: error processing package dosbox (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
dosbox
"apt-get install --no-install-recommends -f"
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
dosbox
0 upgraded, 0 newly installed, 1 to remove and 206 not upgraded.
1 not fully installed or removed.
After this operation, 2,811 kB disk space will be freed.
Do you want to continue? [Y/n] n {I replied n-Enter}
Abort.
fireExit wrote:together with the output Head_on_a_Stick asked you, can you also provide the output ofCode: Select all
apt-cache policy
Code: Select all
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ftp.debian.org/debian/ jessie-backports/main Translation-en
500 http://ftp.debian.org/debian/ jessie-backports/contrib Translation-en
100 http://ftp.debian.org/debian/ jessie-backports/main amd64 Packages
release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=main
origin ftp.debian.org
100 http://ftp.debian.org/debian/ jessie-backports/contrib amd64 Packages
release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=contrib
origin ftp.debian.org
500 http://ftp.debian.org/debian/ jessie-updates/main Translation-en
500 http://ftp.debian.org/debian/ jessie-updates/contrib Translation-en
500 http://ftp.debian.org/debian/ jessie-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=main
origin ftp.debian.org
500 http://ftp.debian.org/debian/ jessie-updates/contrib amd64 Packages
release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=contrib
origin ftp.debian.org
500 http://security.debian.org/ jessie/updates/main Translation-en
500 http://security.debian.org/ jessie/updates/contrib Translation-en
500 http://security.debian.org/ jessie/updates/main amd64 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
origin security.debian.org
500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=contrib
origin security.debian.org
Pinned packages:
Caitlin