New answers tagged

0

My Debian server is not updated for a while.. So I have updated my Debian server(Linux 13) and run the above command.. This time i am able to install apr. . It may help someone. .


2

There's a reason why there are two commands: upgrade only upgrades packages but never deletes any or installs any extra, whereas dist-upgrade can also add and remove packages if necessary to upgrade everything that can be upgraded. For example, if the newer version of mariadb-server depends on a newer library version, apt upgrade won't install the new ...


0

Actually, IO/Network requests are really slow compared to CPU ops. This means that while your network card is fetching data, or your disk is writing this data, your CPU does absolutly nothing (for this process anyway). If your hard drive is speeder than your network connection (which is probably true), it won't write more than it has received. Finally, ...


1

Example : https://packages.debian.org/wheezy/joe → → All the dependencies are listed : The red dots. Be aware that the dependencies can also depend on some packages : Click the dependencies for a check. ... "armhf" : See the list at the bottom of the page. Click armhf ,,,, and you will come to a page with links.


10

Even on a slow system (Raspberry Pi 2+) I'm getting at most 30% CPU load. The Raspberry Pi 2+ has 4 cores. For some monitoring tools, a 100% usage correspond to all the cores been used at 100%. A 30% CPU load is roughly one core used at: (100% = 100 / 4 = 25%) + some background processes ≃ 30% Since apt-get is not multi threaded, it will never use ...


1

I think you're actually not measuring IO %. I haven't seen a Linux IO% widget. (I'm very envious of the Windows 10 task manager :). Check using the iotop command and you will see 100% IO. top should show 100% across user+system+iowait, for values of 100% divided by your core count as described by A.L. I'm not saying top is 100% helpful, but it can be a ...


23

Apps will only max out the CPU if the app is CPU-bound. An app is CPU-bound if it can quickly get all of its data and what it waits on is the processor to process the data. apt-get, on the other hand, is IO-bound. That means it can process its data rather quickly, but loading the data (from disk or from the network) takes time, during which the processor ...


0

Run this command for the GPG error : sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3EE67F3D0FF405B2 40976EAF437D05B5. Then for the Hash Sum mismatch try running these commands : sudo rm -rf /var/lib/apt/lists/* and sudo apt-get update


0

Without more info, all I can suggest is: Try installing another copy of the same OS release, updating it (apt-get update, upgrade, and dist-upgrade), and then copying the suspected relevant parts of it to the broken machine (after making backups of course). For example copy /etc/apt/ and /var/lib/apt/ and see if apt-get update will work then.


3

You need to ensure you don't have another, more general pin priority which takes priority over your non-free-excluding rule. For example, if your /etc/apt/preferences file (or another file in /etc/apt/preferences.d) contains something like the following: Package: * Pin: release a=unstable Pin-Priority: 200 then unstable packages will have pin priority ...


0

adding one or two more services to start after the network service as part of the requirement before running your update service should add more productive delay rather than adding a sleep 10 in your script.


3

You can use apt-show-versions for this. Running it will list all installed packages, with their origin and the installed version, and various messages depending on the available versions: "newer than version in archive" if the installed version is newer (and should perhaps be downgraded in your scenario) "No available version in archive" if none of the ...


0

Wing IDE has a configuration dialog box where you can set the path to your preferred python interpreter, over-riding the default. To do so, select the Custom radio-button for Python Executable in the Project Properties dialog box and then either entering a path or clicking on the Browse button. The Project Properties dialog is apparently accessible from ...


1

python2 and python3 are incompatible with each other, and a lot of the software only work with python2. So, apt-get does not overwrite python2 when you install python3. You should call Python3 with python3 command and use #!/usr/bin/python3 as the shebang in your scripts.


0

You may have to run python3 instead of python, python2 is still installed on your system.


3

The basic error is this (emphasis mine): dpkg: error processing archive /var/cache/apt/archives/nginx_1.10.0-1~jessie_i386.deb (--unpack): trying to overwrite '/etc/default/nginx', which is also in package nginx-common 1.6.2-5+deb8u1 This means that the new package you are installing is trying to overwrite a file provided by another package (your ...


1

You're pulling in phpmyadmin from a Trusty PPA. The package there seems to be a straightfoward rebuild of the phpmyadmin package in Debian, but the latter recently changed to simplify its dependencies, using the new php-defaults packages. The resulting package can no longer be installed in Debian 8. There is no easy solution to upgrade to version 4.6.1 of ...


3

That's because Debian 7 is now on long-term support, and security support is only available on i386, amd64, armel and armhf. There is no mipsel security support any more on Debian 7, you should upgrade to Debian 8.


0

Find a machine where apt-get is installed and run the follow command: apt-get --print-uris --yes install YourTargetPackage | grep ^\' | cut -d\' -f2 | xargs wget It will download all dependencies to your machine. Then you can copy this dependencies on your machine with dpkg-only and download all dependencies: dpkg -i pathToFolderWithDeps/* Then install ...


0

You can try to install the packages using some of the --force-... flags of dpkg, use --force-help to list them. The ultimate way is the --force-all flag. It could be needed that you need to unpack some of the packages manually, and trying the installation again. Having a look at debootstrap, which need to solve the same problem, can also be helpful.


3

If your network blocks direct HTTP access (so that you need to use a proxy), it probably blocks direct DNS access as well. You've configured your system to access Google's DNS servers. That can't work if your network blocks them. Remove the setting where you hard-code your preference of DNS servers, and leave the system default. Typically you get an IP ...


0

Yes, you can. I already managed to update my Termux sources.list with Ubuntu sources and it worked. The only issue I found was a conflict between Termux and Ubuntu support for "vim" package. If you install it through apt-get, you'll find a conflict sometime. About the sources, I first installed a chroot ubuntu on my device, then copy&pasted the sources ...


1

A conflict between packages is harmful in and of itself. When you force dpkg to install the conflicting packages, this may not cause any other harm if the conflict was declared for no good reason, but the packages are still conflicting. APT works hard to resolve conflicts when installing packages and it doesn't have a list of conflicts to ignore. You can't ...


1

Try to install the keyring: sudo apt-get install --allow-unauthenticated linuxmint-keyring Then: sudo rm -rf /var/lib/apt/lists/* apt update sudo apt-get update sudo apt-get upgrade


1

You can use... echo password | sudo -S recover.sh Password being your sudo password. From sudo manpage.. -S, --stdin Write the prompt to the standard error and read the password from the standard input instead of using the terminal device. And second method is sudo -S <<< password apt-get install pkg_name


1

If you don't want to enter password manually you use -A option of sudo -A, --askpass Normally, if sudo requires a password, it will read it from the user's terminal. If the -A (askpass) option is specified, a (possibly graphi‐ cal) helper program is executed to read the user's password and output the ...



Top 50 recent answers are included