Tag Info

Hot answers tagged

84

$ man apt-get | grep reinsta -A2 --reinstall Re-Install packages that are already installed and at the newest version. Configuration Item: APT::Get::ReInstall. So, to use it to reinstall aptitude use: sudo apt-get install --reinstall aptitude


64

Since Lenny is EOLed lenny security updates have been terminated on February 6th lenny backports have been dicontinued on March 25th lenny volatile has been discontinued with the release of its successor "squeeze" the repositories have been moved to archive.debian.org - you may wish to update your repositories to match this: deb ...


41

You can reinstall a package with sudo apt-get install --reinstall packagename. This completely removes the package (but not its dependencies), and then re-install the package. This is the only way when working with a package with a large number of dependencies.


5

You should be safe to remove aptitude and reinstall, as that won't affect the other apt utilities. So: apt-get remove aptitude followed by apt-get install aptitude, or if that still fails try apt-get purge aptitude followed by apt-get install aptitude. Before doing either of the above, I recommend a full file-system and bad-block check in case there is a ...


4

All a default Debian install needs for updates is DNS traffic for name->address lookups (though you can remove this requirement by having the relevant names in your /etc/hosts file) and HTTP traffic to the servers listed in your sources.list file.


4

These are the files and snippets of files that I have found to be of interest for this problem. Note that I am running Ubuntu 10.04 You might be able to figure out what the problem is from my configuration files. Otherwise, maybe consider posting your corresponding configuration. last part of ~/.bashrc # enable programmable completion features (you don't ...


4

Every container in an OpenVZ host has a unique Container ID, also known as its VEID. From within a container, you should be able to read its VEID like this: awk '{print $1}' /proc/vz/veinfo This ID should be constant for a given container, since it is associated with the container's .conf file that configures it for OpenVZ.


2

I believe dd would also be a viable option: dd if=________.iso of=/dev/sd_ Where 'if' is your input file and 'of' is your output file (ie device).


2

Well, if it was my system I'd start it up without the graphical interface (or ssh into it from a working system) and use that to poke around. I see from the specs that your monitor wants to be at 1920 by 1080 and based on its low price I'm guessing that it's not very tolerant of other resolutions. You're going to have to get X windows to use that specific ...


2

According to linuxwireless.org the in-kernel Ralink drivers do support AP mode on the older chipsets, both PCI and USB. If you're still using Debian Lenny, you will have an older version of the drivers which might be affected by bugs or other limitations. As Lenny is currently the oldstable, I would recommend upgrading to the current stable distribution aka ...


2

Not all TrueType fonts are Microsoft fonts. The only Microsoft font package is ttf-mscorefonts-installer. I suggest installing other TrueType fonts. This will install all of them, except ttf-mscorefonts-installer (note the grep -v mscorefonts): apt-cache search ttf | awk '/^ttf/ {print $1}' | grep -v mscorefonts | xargs apt-get install Those other ...


2

You can use tools like UNetbootin, usb-creator etc to do it. Or you could manually do it : Copy/Extract files from the ISO to the root dir of your USB Drive Set the boot flag for your usb ddevice(use gparted or cfdisk) run : syslinux -sm /dev/your_usb_dev Create syslinux.cfg file in usb root dir with content : include isolinux/isolinux.cfg


2

Just about all apt-get sources use http, check your /etc/apt/sources.list. You can also check the ruleset of iptables or ipchains to see if there is a rule that affects apt-gets usage.


2

aptitude update aptitude upgrade


2

Sometimes you need to restore config files too! not just reinstall. sudo apt-get install --reinstall xxxx Reinstall the application, keeps the config files. This could be helpful, but sometimes you need to start fresh, so what I use is this: sudo dpkg -r xxxx //to remove that xxxx package sudo dpkg -P xxxx //to purge all related files then ...


2

This is a bug that has been fixed in dpkg 1.10.21 (i.e. instead of dying with a fatal error a warning is emitted, since this configuration file is optional). If you can't fix the permission error, upgrading dpkg should mitigate the issue. Since you'll need to run dpkg to upgrade itself you might need to unmount the nfs home for that.


1

Here you can find some information about Email Services. It is from the Ubuntu server guide, but maybe this can help you.


1

Use erasedups instead! It work for me! export HISTCONTROL=erasedups If you need more options separate them with: export HISTCONTROL=ignorespace:erasedups


1

Two approaches: You could do this the quick, hackish way and just replace the kernel image and modules in the ISO. Fairly quick & easy. Debian has documentation how how to build d-i; http://wiki.debian.org/DebianInstaller/Build and http://wiki.debian.org/DebianInstaller/Modify


1

well, netinstall will generally grab the latest packages available, but well, you need to have your networking working. I might suggest getting one system working, and using aptoncd to make a second disk of the packages necessary for the system to work (or a private repository), in addition to what's on the lenny installer. Alternately if these are mostly ...


1

Auto-mute speakers when headphones are plugged in - Debian User Forums: http://forums.debian.net/viewtopic.php?f=6&t=57796


1

I just downloaded and built bbbutton 0.8 from source. One #include <stdlib.h> needs uncommenting. Works great.


1

According to Phoronix it is supported: http://www.phoronix.com/scan.php?page=news_item&px=NjUzMw and http://www.phoronix.com/scan.php?page=article&item=intel_x4500hd&num=1 Intel has the best track record for open source drivers so it's not too surprising. Too bad the hardware is fairly weak. All you should need is a recent kernel...say ...


1

That is actually a good thing! If you can see that message it means that the boot-loader, GRUB, has already finished loading and is loading the next stage of the boot process, the kernel. Hanging during kernel boot is actually not that unusual. Make sure that it is not a hardware problem. Ensure that the cursor on the screen is still blinking and that ...


1

As root, just: cat the_ubuntu.iso > /dev/sdX then sync … and voilà.


1

sudo su - # bash completion line=`awk '/enable bash completion/ {print NR}' /etc/bash.bashrc` sed -i.backup "$((line+1)),$((line+3))s/^#//g" /etc/bash.bashrc # bash completion fork: http://code.google.com/p/bash-completion-lib/ apt-get install -y bash-completion-lib


1

How about going the other route and installing VMWare's ESXi?


1

Did you try something like mail -s "My subject" myemail@gmail.com < msgfile Is your plan to send and receive mails or only send? Only sending should be easy to set, configuring to receive the mails for mydomainhere.com not. Do you have a fixed IP-address? Are you aware that if your mail server is down (software error, hardware failure, no network ...


1

No matter what image you use, at some point of the installation (if you provide a large enough image or an internet connection) you'll be prompted for a software selection, just uncheck Desktop environment.


1

Non root users cannot listen (or even open) ports below 1024. To restrict users to other single ports above 1024, you can use the --uid-owner option of iptables. See "man iptables". If you dont want to mess with iptables yourself (but still have a decent knowledge of networking/firewalling), my personal favourite firewalling solution is firehol. It has ...



Only top voted, non community-wiki answers of a minimum length are eligible