New answers tagged

0

The cuda opencl should be OK, I think. Configuring ImageMagick, please try ... ./configure CFLAGS=-I/usr/local/cuda-7.5/include/CL


3

apt's source code is available on Alioth, but it isn't designed to serve as a basis for bootstrapping a distribution from source. To bootstrap a Debian-based (apt-based) distribution, you need to use a tool such as debootstrap, which itself needs quite a number of programs to run. Usually, bootstrapping a system in this way involves either using another ...


3

The easiest is probably just to install them as Stephen suggests in the other answer, but you can also just mark them as manually installed with aptitude unmarkauto <packages>....


1

You should be able to do sudo apt-get install .... and the packages you want to keep. This will tell the system the packages were "manually" installed and so remove them from the autoremove scope eg we can see my system wants to auto-remove a number of packages: # apt-get upgrade Reading package lists... Done Building dependency tree Reading state ...


2

Debian policy is that libraries, tools, etc bundled with a program should be unbundled from it when creating a debian package. Debian policy also requires that libs be split into at least a runtime package (e.g. libfoo-version) and a development version with the static library and headers (e.g. libfoo-version-dev). What you do on your own system is your ...


1

If apt is borked, sometimes it's possible to set things right manually with dpkg and the full path of the local cached package. Here's how: cd to where apt stores the packages, namely /var/cache/apt/archives/ dpkg then (as needed) the switch for install, remove, purge or whatnot, then the filename of the package in the current directory. So to install ...


2

So my question is, if the upstream developers created their software with the intention to distribute a large monolithic install complete with bundled dependencies, do the APT package maintainers need to rewrite the source so that the software uses the communal collection of dependencies rather than the local dependencies? Not necessarily, as long ...


1

(based on comments) You have overridden the default library resolver path so that the stdc++ library is being called from the Xilinx directory, rather than the OS default. This library appears to be compiled against a different version of glibc. You need to unset LD_LIBRARY_PATH to ensure the apt-get command only looks for the standard OS libraries.


3

libaprutil1 is the package causing issues (and most likely its dependency, libapr1). You need to: remove the testing/security line from your /etc/apt/sources.list; update the package caches: sudo apt-get update remove libaprutil1 and libapr1: sudo aptitude remove libaprutil1 libapr1 (and any package that depends on them) then install apache2: sudo ...


3

According to aptitude, an Apache dependency called libaprutil1 is installed in a newer version than what is avaible from the repositories: The following packages have unmet dependencies: libaprutil1-dbd-sqlite3 : Depends: libaprutil1 (= 1.4.1-3) but 1.5.4-1+b1 is installed. libaprutil1-ldap : Depends: libaprutil1 (= 1.4.1-3) but 1.5.4-1+b1 is installed. ...


2

The complete location can be obtained as follows: eval $(apt-config shell CACHE Dir::Cache) eval $(apt-config shell ARCHIVES Dir::Cache::archives) echo /${CACHE}${ARCHIVES} (apt-config shell is designed to be used in this way). The first command gives the base directory for all the caches, the second gives the path to the archives, starting from the base ...


0

Simply with this command for cache directory location: apt-config shell Cache Dir::Cache And this command for cache/archive directory location: apt-config shell Cache Dir::Cache::Archives


3

Generally speaking, new versions of libraries which introduce backwards incompatibilities should change their soname, and this will then result in a new package name for the runtime library (e.g. for GTK+, libgtk2.0-0 and libgtk2.1-0 or whatever is appropriate). It's usually considered a serious bug to introduce a breaking version upgrade without following ...


1

Just a typo in your second command : sudo apt-get -t jessie-backports install jetty9


4

You've dropped some spaces: it's libhtmlcxx-dev libboost-system-dev and libboost-program-options-dev libboost-date-time-dev. You need to add a space before two of the \s in your command: apt install build-essential libcurl4-openssl-dev libboost-regex-dev \ libjsoncpp-dev liboauth-dev librhash-dev libtinyxml2-dev libhtmlcxx-dev \ libboost-system-dev libboost-...


0

I was finally able to resolve this by using aptitude instead of apt-get to install clang-3.5. So, sudo aptitude install clang-3.5


0

Upon further review, I believe the script was launching correctly, but there was a problem encountered during the apt-get, related to the libc6 package. I am using a Debian rolling release OS and just found out about Unattended Upgrades. I'll be looking more into how to properly use this feature.


5

I suspect some issue with the transition to certbot and the use of virtual packages... (Until recently, versioned dependencies weren't supported on virtual packages.) Since certbot is now in the Jessie backports, and replaces letsencrypt, I'd recommend installing that instead: apt-get install -t jessie-backports certbot


0

For dpkg this can be done by adding status-logger "logger -t dpkg -p info" to /etc/dpkg/dpkg.cfg. Since apt-get calls dpkg, also apt-get/apt actions get logged. See man logger for adjusting the information logged to the syslog. I am using this ansible task to update the configs: - name: dpkg syslog lineinfile: dest: /etc/dpkg/dpkg.cfg line: '...


1

Have a look at http://archive.debian.org/debian/dists/lenny/. There are only 3 folders contrib main non-free Updates does not exist (anymore). Change your source.list so that it only contains main and optional contrib and nonfree and try again.


1

I just removed the package info for linux-image-3.8.11 from /var/lib/dpkg/status and that has seemed to work. I was able to install cowsay so the problem seems to have been fixed. Thanks.


1

zgrep -h ' install ' /var/log/dpkg.log* | sort | awk '{print $4}' This will give you a list of packages that have been installed, in the order that they were installed. As per my comment, only the last 12 months worth of/var/log/dpkg.log* files are kept by default. To change this, edit /etc/logrotate.d/dpkg. For example, change rotate 12 to rotate 1200 ...


1

You can list installed package using apt using the following command: apt --installed list Edit Use the following command to list installed package through apt-get : zcat /var/log/apt/history.log.*.gz | cat - /var/log/apt/history.log | grep -Po '^Commandline: apt-get install (?!.*--reinstall)\K.*' Source: Askubuntu


0

Use dpkg to list all packages installed on a system: dpkg --get-selections To list all packages installed using apt-get look at /var/log/apt/history.log. This log also contains packages you have removed. You can grep for the lines that start with Install:.


0

Are these the hashes for the pool/main/l/linux/linux-image-3.16.0-4-686-pae_3.16.7-ckt25-2_i386.deb file? Yes. Where can I find these hashes online to see if mine are correct? Here! Assuming the answer to (1) is 'yes', then how can I check that the kernel that is actually running on my pc is the same as would be installed by this .deb file? I ...


0

If you want to run apt-get as a normal user, you will need to add a line to your /etc/sudoers file to allow you to execute specific commands with no password. First, change your script to: #!/bin/bash sudo apt-get clean && sudo apt-get update && sudo apt-get upgrade -y Second, add the following line to your /etc/sudoers file: ...


1

Nevermind. This did the trick: $ sudo apt-get autoclean Reading package lists... Done Building dependency tree Reading state information... Done $ sudo updatedb $ locate virtualbox /usr/share/app-install/desktop/virtualbox.desktop /usr/share/app-install/icons/virtualbox.png


0

I have a repository with client 2.2 and a tutorial to build the client. See https://wiki.sgripon.net/doku.php/building_owncloud_client_for_raspberry_pi.


8

Get gcc-doc package In order to be able to fetch this packages with the apt-get install command we need to edit our sources.list file to include both contrib and non-free repositories. For example, here's my /etc/apt/sources.list file: deb http://httpredir.debian.org/debian/ jessie main contrib non-free deb-src http://httpredir.debian.org/debian/ jessie ...


0

Your problem is that APT is configured to look for packages in the Debian DVD set. edit your sources.list file, make sure that any lines containing cdrom are either removed or commented. Editing sources.list file # vi /etc/apt/sources.list or # gksu gedit /etc/apt/sources.list so your sources.list file will look something like this deb cdrom:[...


1

All the bugs referenced in /usr/share/doc/dictionaries-common/README.problems are rather old, but then so is the release of the distribution you're using. The fix_db.pl script itself is quite safe, and in any case it leaves a backup — you can run it, and then compare the contents of /var/cache/debconf/config.dat and /var/cache/debconf/config.dat-old, and /...


1

Yes, leave the backports repository line in place, otherwise you won't get updates (including, for example, security fixes). The backports repository actually makes use of an apt feature in the Release file that makes apt already not want to install anything from backports (it sets the priority lower). You do not need to set APT::Default-Release (at least ...


3

As https://backports.debian.org/Instructions/ says: All backports are deactivated by default (i.e. the packages are pinned to 100 by using ButAutomaticUpgrades: yes in the Release files. So backports are set to 100 server side - i.e. in the Release file on the server. You do not need to do anything special to make this work. One of the consequences is ...


1

tigerlite's PPA includes an updated dpkg (presumably for valid reasons), but it doesn't include updates to other packages which that updated dpkg breaks. These broken packages include libapache2-mod-php5... So ideally you should ask tigerlite to add the relevant, updated packages to his PPA. Alternatively, if you're feeling adventurous you could try ...


4

libjinput-java and libjinput-jni are built from the same source. The -java package contains the architecture-independent, pure Java JAR, and the -jni package contains the architecture-specific library which provides the native functionality required by the Java package. Notice that libjinput-java depends on libjinput-jni: they're not two different ...



Top 50 recent answers are included