I recently updated to firefox 17 during a system upgrade.
$ sudo apt-get update && sudo apt-get upgrade.
How do I revert back to a previous package version? I'd like to get back to firefox 16.0.2.
I recently updated to firefox 17 during a system upgrade.
$ sudo apt-get update && sudo apt-get upgrade.
How do I revert back to a previous package version? I'd like to get back to firefox 16.0.2.
I'm experiencing what appears to be a name resolution issue in Ubuntu 12.04 Server edition when configuring my computer to use static ip.
In /etc/network/interfaces:
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.28
netmask 255.255.255.0
gateway 192.168.1.1
Running $ sudo apt-get upgrade
, results in a 'Failed to fetch...':
. . . W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/i18n/Translation-en_US Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
[...]
When I change my /etc/network/interfaces to:
auto eth0
iface eth0 inet dhcp
Everything works fine.
Looking into /etc/resolv.conf provides some more hints.
In cases where I was getting the resolving issue, resolv.conf was empty; no nameservers were specified. Then I changed to DHCP from static and restarted networking; /etc/resolv.conf got changed to: 'nameserver 192.168.1.1'.
Switching back from DHCP to static and restarting doesn't remove the nameserver entry. But when I restarted the system with static set, resolv.conf was empty. When I restart the system with DHCP set, resolv.conf has nameserver 192.168.1.1. So, it appears that the issue is that resolve.conf is not getting written to correctly? Which package/code is responsible for writing to resolv.conf? Is there a particular package that I can take a look at open issues?
UPDATE: istream posted a good article discussing changes to resolve.conf in 12.04. http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/
I'm trying to upgrade and while doing so, I get the following:
devteam@hephaestusx:~/Projects$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libboost-python-dev : Depends: libboost-python1.46-dev but it is not installed
E: Unmet dependencies. Try using -f.
devteam@hephaestusx:~/Projects$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
devteam@hephaestusx:~/Projects$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libboost-python1.46-dev libboost1.46-dev
Suggested packages:
libboost1.46-doc libboost-date-time1.46-dev libboost-filesystem1.46-dev libboost-graph1.46-dev libboost-iostreams1.46-dev
libboost-math1.46-dev libboost-program-options1.46-dev libboost-random1.46-dev libboost-regex1.46-dev libboost-serialization1.46-dev
libboost-signals1.46-dev libboost-system1.46-dev libboost-test1.46-dev libboost-thread1.46-dev libboost-wave1.46-dev doxygen default-jdk
fop
The following NEW packages will be installed:
libboost-python1.46-dev libboost1.46-dev
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
6 not fully installed or removed.
Need to get 0 B/8,151 kB of archives.
After this operation, 80.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 226442 files and directories currently installed.)
Unpacking libboost1.46-dev (from .../libboost1.46-dev_1.46.1-5ubuntu2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libboost1.46-dev_1.46.1-5ubuntu2_amd64.deb (--unpack):
trying to overwrite '/usr/include/boost/aligned_storage.hpp', which is also in package libboost1.40-dev 1.40.0-6ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Unpacking libboost-python1.46-dev (from .../libboost-python1.46-dev_1.46.1-5ubuntu2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libboost-python1.46-dev_1.46.1-5ubuntu2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libboost_python-py26.a', which is also in package libboost-python1.40-dev 1.40.0-6ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libboost1.46-dev_1.46.1-5ubuntu2_amd64.deb
/var/cache/apt/archives/libboost-python1.46-dev_1.46.1-5ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any idea on how to remedy this?
I'm trying to add a command to be executed after logging into ubuntu. Specifically, xinput set-prop 11 "Device Enabled" 0
.
What is the file that is sourced/executed when logging into a user session?