Tag Info

New answers tagged

1

By running dpkg-query -L hwinfo you can view all the files installed by this package, together with their location. So likely installed as /usr/sbin/hwinfo. Add /usr/sbin to your $PATH variable if you want to run it with simply the command hwinfo rather than the full path+command /usr/sbin/hwinfo.


0

A simplistic approach would be to use find. Example below assumes you're only interested in files changed in / and /var touch /tmp/foo apt get upgrade find / /var -xdev -newer /tmp/foo -ls


0

Tools like AIDE and Tripwire are not very useful because only detect attacks that are not very clever. If an attacker can get root, they needn't bother to modify system binaries, or they can fake data for the monitoring system, by infecting the kernel. Tripwire may be useful in that it reports changes as soon as they occur, before the attacker has had time ...


0

A second possibility is to download the source code from upstream directly instead of downloading it form Debian repositories. This has the advantage that if you not only want to read the source code but might like to change something you can directly commit and submit it to upstream (assuming it is not a Debian patch). You can usually find out the upstream ...


0

Just hash out the incorrect entries & apt-get clean && apt-get update


3

To remove a repository, you have to do 2 things: Remove it from sources.list. If it was added by add-apt-repository then you will find it in its own file in /etc/apt/sources.list.d, not in the main sources.list. sudo rm /etc/apt/sources.list.d/nemh-systemback-precise.list Optional: Stop trusting the key Use apt-key list to list trusted keys. Look for ...


1

Solution Create a new Group: groupadd -r updaters The -r option reserves a system group, i.e. 0 - 100. Add Users to Above Group: useradd -G updaters john, useradd -G updaters sally. You can also use the user alias section to acheive this. See Sudoer File Examples for a fully functioning User Alias Section. In my opinion, doing it the way I've done ...


0

You can try to find older version of these packages and install it manually by dpkg -i packagename to decrease dependencies list and, probably, decrease potential thread to your system.


0

Try to run the following command apt-get update before executing apt-get install command Also make sure that urls in /etc/apt/sources.list are available.


2

Upgrading a package is not the same thing as removing and then installing it. Upgrading takes care to minimize the time during which the package isn't fully operational, whereas removing then installing leaves a window during which none of the package's files are present. Apart from that, they don't run the same maintainer scripts: upgrading runs the ...


3

To answer your question, dpkg calls the same scripts (on a per package basis) whether you are using --only-upgrade with apt or not. It makes no difference. --only-upgrade only affects which packages apt operates on. As the man page says: --only-upgrade Do not install new packages; when used in conjunction with install, only-upgrade will ...


1

"upgrade" means upgrade all packages which have newer versions available in the configured package repositories than the ones which you currently have installed. "install" means add a particular package (with the latest available version), or upgrade to that version if an earlier version of the package is already installed. Removing an installed package, ...


2

You can share /var/cache/apt/archives (or whatever you set Dir::Cache::pkgcache to) between Debian installations. I've done that to share the directory between a 32-bit installation and a 64-bit one, or between stable, unstable and testing. However, you probably can't do it usefully, because APT takes a lock on the directory while any upgrade operation is in ...


0

apt-mark showauto gives the list of packages which were automatically installed. apt-mark manual marks the given package argument as being manually installed. If you want all automatically installed packages to be marked as manually installed, you can feed the output from apt-mark showauto to apt-mark manual, one package name at a time. However, I still ...


0

I think you confused the window manager for the desktop environment :p. I.e. that re-installing xfcwm didn't work, because when you removed it, it also removed the package for the DE. One of the dependencies for the DE package is its window manager. To install XFCE use the xfce4 package, and possibly xfce4-goodies. That would be the quickest way to get ...


2

This link has debian packages for all apt versions that were in a Debian release: ftp://archive.debian.org/debian/pool/main/a/apt/ First install libapt-pkg for the version you need and then install the apt package for your system using dpkg -i. In case of conflicts, look for apt packages in dpkg -l and uninstall it using dpkg -r. After this use the above ...


0

Your sources.list shows that you're pulling from the testing repository, not just Jessie. So you aren't running straight Jessie anymore, but a mix of Jessie and Stretch. (Maybe this is a result of your skype installation?) Also, you should very rarely need to apt-get dist-upgrade. The best practice for updates is to use the apper GUI to regularly check for ...


1

You seem to have a stray dot in there: E: The method driver /usr/lib/apt/methods/.http ↑ Sounds like a typo. Check /etc/apt/sources.list and /etc/apt/sources.list.d to see if you have any URLs in there of the form .http://something/......


1

Check the Debian package tracker: https://tracker.debian.org/pkg/ucblogo. The maintainer has stopped his work on this package (orphaned in July 2015). There won't be no update unless someone takes over the maintenance. For now you should probably build it for yourself.


1

How can I make sure this its safe to proceed? Why do you believe it isn't? I don't see anything unusual there at all. In other words, just hit enter and proceed. It may take a few minutes, but 114 MB worth of archives isn't that much.


1

Do this first: apt-get-f install Now carry on with the apt-get update and upgrade. Honestly not much can go wrong.


1

This post by the aptitude author explains {a} and {u}: {a} means that the package will be additionally installed besides what you asked for. {u} means that the package is not being used by the system and will be removed. Unfortunately it doesn't explain {b}.


3

The lists are the knowledge of what's available, so if you delete them, you won't be able to install anything - that's exactly equivalent to removing the repositories from your sources list (which you say you don't want to do). One option is that you could compress the lists, and remember to uncompress them before you next update. What I often do ...


2

You can just use: rm /var/lib/apt/lists/* This will remove the package lists. No repositories will be deleted, they are configured in the config file in /etc/apt/sources.list. All that can happen is that tools like apt-cache cannot get package information unless you updated the package lists. Also apt-get install will fail with E: Unable to locate package ...


4

Yes, a dist-upgrade from wheezy to jessie will switch to using systemd as the init system. The jessie release notes devotes a whole section to this issue, also giving a recommendation about how to stay with your current init system: to prevent systemd-sysv from being installed during the upgrade, you can create a file called ...


1

Jessie will install systemd by default, even as an upgrade from Wheezy. After installation you can disable it by following the instructions at How to remove systemd from a Debian jessie/sid installation There are explanations of these commands on that page, but the gist is as follows: apt-get install sysvinit-core sysvinit sysvinit-utils reboot # BE AWARE ...


1

dpkg -l | grep -e package1 -e package2 .... Will list packages you are interested with their current insstallation stauts. The output will be something like this bala@bala-laptop:~$ dpkg -l | grep apache2 ii apache2 2.4.10-10 amd64 Apache HTTP Server The first 2 characters tell the status ...


5

apt-cache showpkg shows detailed information about potentially installable packages. It does indicate whether the package is installed, kind of, but not in a very readable way: Versions: 2:3.6.6-6+deb7u5 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_wheezy_main_binary-armhf_Packages) If the package was installed, you'd see ...


1

dpkg -l $PACKAGENAME is enough. The first two characters in the line will show the package status


0

Is /etc/resolv.conf a symbolic link? Check with ls -l /etc/resolv.conf. If you see something like lrwxrwxrwx 1 root root 31 May 3 18:30 /etc/resolv.conf -> /etc/resolvconf/run/resolv.conf then your resolv.conf is managed by resolvconf. Before overwriting the content, you'll see a big header warning you # Dynamic resolv.conf(5) file for glibc ...


0

Type sudo apt-get purge apache2* This will get rid of all packages starting with apache2, then Type sudo apt-get autoremove It'll uninstall the packages that were installed by other packages and no longer needed. Then install apache. Hope this works.


-5

sudo chattr +i /etc/resolv.conf Source.


1

solution - just issue : sudo apt-get dist-upgrade which will update the held back package and so clear that notice


1

apt-get -qy update > /dev/null apt-get -qy dist-upgrade >> /var/log/apt/scripted-upgrades.log You can send them both to /dev/null if you want-- but once its gone you can never look at what went wrong after issuing the command. Also if your /etc/apt/sources.list is in bad shape, running a plain interactive apt-get update should clue you in. ...


1

This means that apt-get wants to download using HTTP over TLS rather than plain HTTP; check that your sources.list doesn't specify https://. If it does, change it, then apt-get install apt-transport-https should work. Once you've installed that, change it back to using https://. If it doesn't, the mirror is redirecting you, so you need to fix your setup ...


0

Your only problem is that the dash after apt-key add is not the ASCII 0x2D hyphen character, but the Unicode U+2013 en dash. The former instructs apt-key to read the key from the standard input (where the preceding wget provides it through the pipe), while the latter is not treated specially, thus interpreted as a file name to read the key from. ...


1

Delete or comment (#) the cdrom line(s) in /etc/apt/sources.list and look at files in /etc/apt/sources.list.d and run apt-get update


2

Use this: wget -qO - http://www.dotdeb.org/dotdeb.gpg | apt-key add - You need a space after the -O and the character after add seems to be wrong. -q turn off the output of wget.


-3

You can try this if works for you user@ubuntuvm:~$ sudo bash root@ubuntuvm:~# echo 1 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6 --> replace your interface name


3

Just to make sure I understand the situation, you have a git repository which is accessible via a protocol that apt will understand, like http or ftp, which contains .deb packages which you would like to serve over the network as a remote repository. This wont be terribly difficult because it seems like you already have the transfer mechanism in place. All ...


4

I believe you can check what has been installed or uninstalled etc via the aptitude logs. You will need to be root or use sudo to view the log files. You can check the logs using this command: sudo cat /var/log/apt/term.log For long log files u can pipe to more like this: sudo cat /var/log/apt/term.log | more Then you can use space bar to page down, ...


0

Try reinstalling ubuntu-desktop as per this thread Run these commands in order: sudo apt-get update && sudo apt-get install -f sudo dpkg --configure -a sudo apt-get install --reinstall ubuntu-desktop Edit: I also recommend creating a dump of your package list next time you uninstall a lot of packages at once, just in case anything goes ...


3

Recuva : Recuva is not available in Lubuntu. Diskdigger : Can be installed in Lubuntu. Here is the oficial documentation for installation. testdisk : Available in the universe repository. You need to enable it first (if not done already). Run the following command to enable it (assuming you are using Lubuntu 14.04 and using official repo) : echo 'deb ...


0

You probably just need to apt-get update. Your package cache is out of date and requesting an older version that is no longer available.


1

It turns out I was looking in the wrong place. The script was failing at DEFAUT_BRIDGE=$(brctl show | grep "lxcbr0") if the network bridge "lxcbr0" does not exits, grep fails with an error and stops the script. I modified this line to DEFAUT_BRIDGE=$(brctl show | grep "lxcbr0" || true) and now everything works.


0

The main idea is to use aptitude and its larger options. The answer follows this one on ubuntuforums. Made /etc/apt/sources.list support multiarch by adding [arch=amd64,i386] to the deb-line: deb [arch=amd64,i386] http://fr.archive.ubuntu.com/ubuntu/ trusty universe sudo add-apt-repository ppa:ubuntu-wine/ppa sudo dpkg --add-architecture i386 sudo ...


0

Just in case, try to reinstall each package: for i in $(cat list.log); do apt-get install --reinstall ${i} You may wish to add answer yes to all questions option too.


0

You can install the latest builds of Lubuntu 15.10 or Ubuntu MATE 15.10 on PowerPC. However, the best experience you will get with the original Mac OS X 10.5.8 (actually I am writing this on Mac OS X on my Powerbook G4).


0

Ok, I figured it out. Thanks for all the help! I will post an answer here for anyone else trying to figure this out: First I ran: sudo gedit /etc/apt/sources.list to get into my sources.list. To that I added: deb http://cran.rstudio.com/bin/linux/debian wheezy-cran3/ and then added the key: (thanks Dirk for the suggestion): sudo apt-key adv ...


0

You have a problem with the priorities of repositories. Edit /etc/apt/preferences and add Package: * Pin: origin cran.rstudio.com Pin-Priority: 900 And I would use deb http://cran.rstudio.com/bin/linux/debian jessie-cran3/ Jessie and Wheezy are Debian version names. As Mint 17 derives from Ubuntu 14.04, jessie (Release April 2015, Freeze November ...



Top 50 recent answers are included