-1
votes
0answers
18 views

How to clone a debian or ubuntu system? [duplicate]

I would like some way to exactly duplicate what is installed on one debian system, onto another, regardless of the target system's state, using the package manager. This includes: installing the same ...
0
votes
1answer
25 views

Renaming debian package

I'm trying to build a customized version of a nginx package for Debian/Ubuntu which had a different set of modules opposed to the default version. What would be the fastest way to modify the debian/ ...
0
votes
1answer
12 views

Install one package from Debian sid on Debian Wheezy?

I need the python-statsd which is only in Debian (sid). What are the steps to install this package under Debian Wheezy please ?
0
votes
1answer
23 views

Command to auto-update apt sources.list in Debian

Is there a command in Debian that I can run that will update my sources.list file to the best possible servers? I maintain a number of Debian servers, and I've found one of the mirrors has gone ...
0
votes
1answer
13 views

Export apt package list for reuse (debian)

Is it possible to export a list of packages from a (Debian) server, so I can reuse this list and simply hit apt-get install <exported_package_list> on a different server? Can I also pipe a ...
-3
votes
1answer
19 views

Is there anyway to specify the version of kernel update with apt-get? Debian 7 [closed]

Is possible to select the version of Kernel I need in apt-get? Actually, I need to update it but I had lot of configurations problems with 3.2. Or the only way is compiling the kernel? Thank you
-2
votes
1answer
93 views

Bash script to install packages and report to log file [closed]

I want to be able to log result of running bash script to file. Script itself is pretty simple, its used to install basic packages on fresh install machines and it scheme looks like this sudo apt-get ...
1
vote
0answers
56 views

Debian: how to install a 64 bit package using apt?

I am migrating my system to 64 bit and the debian wiki suggests to first debootstrap a 64bit into a directory, then collect all 64bit packages and install them but this doesn't work. To install 64bit ...
0
votes
1answer
391 views

Running dist-upgrade fails on installation of 'startpar'

I'm trying to run dist-upgrade on Debian 6 but it fails on installation of startpar with: dpkg: considering deconfiguration of sysvinit-utils, which would be broken by installation of startpar ... ...
1
vote
1answer
42 views

Mirroring apt repository over ssh

We have a apt repository running to distribute upgrades for our software. The repository is accessed over ssh and a public key authentication: deb ssh://repo.server.com/dist stable As the download ...
1
vote
1answer
39 views

How to automate cleanup of config files from past pkgs as reported by “dpkg -l | grep ^rc”

There are a number of pkgs that weren't removed with "apt-get purge" and I would like to automate cleaning them up. You can't apt-get purge apache2.2-common because the pkg is already removed. You ...
0
votes
1answer
115 views

How to check if an apt mirror has the version of package I required?

Let say I want to query if openssl, 1.0.1-4ubuntu5.12 is available in the mirror, e.g. deb http://security.ubuntu.com/ubuntu precise-security main restricted Any easy command I can check?
0
votes
0answers
54 views

reprepro remove reports “not found” but reprepro list shows the package

I'm trying to remove a package from a local debian repo. reprepro list shows it, but reprepro remove says it's not found. The file exists in the backup directory but not in the pool directory. I guess ...
0
votes
0answers
169 views

403 AuthorizedOnly error when attempting apt-get upgrade on Ubuntu 12.04

For some reason, apt-get upgrade isn't working today. This is what I see when I try to upgrade : root@localhost:~# apt-get upgrade Reading package lists... Done Building dependency tree ...
0
votes
0answers
66 views

installing from ubuntu ppa on debian including dependencies

I'm trying to install a stable latest version of couchdb on a Debian 7 server. Sadly for me the packages on the Debian repository are old (1.2) and i need 1.4 and up I've decided to try and use the ...
-1
votes
1answer
40 views

Why debian library packages have numbers in their name? [closed]

I was installing some dependency libraries using apt and I was just wondering why some debian library packages have number in their names. For example: libleveldb1 (while development package is ...
0
votes
1answer
97 views

Debian local apt repo

Using debians ftpsync I've synced amd64 to my local file server, and installed debian over the network using ipxe. It dawned on me, that the content I've downloaded needs to be shared as an apt repo, ...
0
votes
1answer
51 views

How to get the Package-List of a debian/ubuntu package?

It's possible to view the Package-List of a debian/ubuntu package, using the package management tools like apt, aptitude or dpkg? I need to list the packages provided by a package, the list is ...
2
votes
2answers
93 views

How to recreate /etc/cron.daily/apt?

On my Debian 6.0.8 system the /etc/cron.daily/apt file is missing. Therefore, unattended upgrades do not work. How can I recreate/fix /etc/cron.daily/apt?
5
votes
3answers
166 views

Audit files on a Debian box

Is it possible to list every file on the system that does not belong to a package? or if they have been modified? Might need to use something like: apt-get, apt-files, dpkg-query, etc For context, ...
2
votes
1answer
1k views

installing git from debian wheezy backports: anyway i see old package version

I need to install git 1.8.* version. I added backports to my sources.list; Removed current installed git via apt-get remove git; Executed apt-get update to update my packages list aptitude show git ...
3
votes
1answer
131 views

Which apt options for a safe automatic update

Related to my previous question, what apt options should one use when upgrading a package so that: if other packages would be removed as a result of the upgrade, apt will stop without touching ...
0
votes
0answers
74 views

automatic upgrade of debian repo keyrings: how risky?

I wrote a CFEngine policy to manage the packages debian-keyring and debian-archive-keyring on Debian and Debian-based systems. For those packages, I would like to set the policy to addupdate, that is: ...
0
votes
1answer
108 views

Can't open /usr/share/debconf/confmodule - When install using apt-get

I tried installing valgrind using, apt-get install valgrind After downloading the packages, am getting the following error, Setting up tzdata (2013d-0squeeze1) ... .: 9: Can't open ...
0
votes
1answer
88 views

What is the apt equivalent of yum's createrepo?

With yum, I can create a respository from a folder of RPMs with the createrepo tool. What's the equivalent to turn a folder of .deb files into an apt repository? This isn't about mirroring upstream ...
1
vote
0answers
24 views

Pinning specific subsection in Debian

I'm trying to pin some packages from a specific subsection (gnome in this case) in Debian jessie. For subsection I mean: gnome, admin, x11, etc… This value is showed by apt-cache in the 'Section' ...
0
votes
1answer
119 views

Adding modules to nginx-light (Debian / dotdeb)

http://packages.debian.org/testing/nginx-light http://packages.debian.org/testing/nginx-full Can I add modules to nginx-light installation that would only be available in nginx-full without ...
1
vote
1answer
41 views

Update computers on private network

I have a small grid of computers that form an analysis cluster. One master node with internet on eth0, and a couple of private static IP workers connected to a switch. The master is also connected to ...
0
votes
1answer
105 views

Slow download speeds (own debian mirror)

I am using ftpsync to have a local version of the debian packages for all of our debian clients. Internally, the traffic from the mirror is at our normal LAN speeds (100 MB/s); however, when a ...
-2
votes
1answer
2k views

How to add debian “testing” repository to apt-get

I had difficulty searching for this answer on google and debian documentation! The FAQ page wasnt very clear either. I mean it wasnt 100% idiot-proof clear. https://wiki.debian.org/DebianTesting
0
votes
2answers
512 views

Debian: How to get rid of half-installed packages after aborted installation of kde-standard?

I accidentally executed "apt-get install kde-standard" on a system with a very small root partition (6 GB). The installation stopped when the disk was full. You can imagine the mess I have on the ...
1
vote
1answer
150 views

On Debian, how to audit installed packages against packages in a particular repository?

I manage a number of Debian servers and usually track the Debian stable repository but occasionally install from the Debian testing repository or third party sources. For audit purposes, on each ...
0
votes
0answers
75 views

Could not create JVM while updating ca-certificates-java

I have a vServer with limited memory ressources and are trying to install ca-certificates-java with apt-get install ca-certificates-java Unfortunately the JVM cannot be created which is indicated ...
0
votes
1answer
2k views

Unable to locate package openjdk-7-jdk

I am using a base edition of Debian and am trying to install Java 7 on it using this command: root@server:~# apt-get install openjdk-7-jdk However, I end up getting this error: Reading package ...
0
votes
0answers
44 views

install build dependencies of a .deb package

I have built a .deb package from (our) sources and the package is not in the repo (yet): % dpkg-checkbuilddeps dpkg-checkbuilddeps: Unmet build dependencies: devscripts (>= 2.12) fakeroot (>= ...
0
votes
1answer
39 views

Deferring updates in cron-apt

Every day I get an email from cron-apt if there are updates available for my Debian systems (I use it in download-only mode). A typical email might look like CRON-APT RUN [/etc/cron-apt/config]: Tue ...
2
votes
1answer
76 views

Can a single Apt-Cacher serve multiple Debian versions?

I have multiple machines running Debian 6 (Squeeze) and 7 (Wheezy). I set up an Apt-Cacher server on a Debian 7 box, for the Debian 7 instances to use. Can this also be used (with the same wheezy ...
0
votes
0answers
360 views

Debian Wheezy - apt-get upgrade fault

Today I want to upgrade a server, but it lag on java 8 upgrade, I use Ctrl + C and stop upgrade, now when I want to upgrade, I have this problem: Can anybody help me? root@mg1:/home/system# apt-get ...
0
votes
2answers
2k views

why apt is not installing dependencies on Wheezy?

if I run # apt-get install sendmail Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have ...
0
votes
1answer
214 views

Failed to install ntp via apt-get in Debian

When trying to install ntp (because my server clock is wrong), it just pukes this massive error. Any idea how to fix this? root@pan-prodweb01:~# apt-get install ntp Reading package lists... Done ...
1
vote
1answer
43 views

One liner to display which debian packages are missing from one system when compared which another?

I am looking for a one line command that I could use to list all deb packages that are missing from a newly installed system, packages that are installed on a reference system (old one).
2
votes
0answers
62 views

Disallow virtual package in Debian's /etc/apt/preferences

I know I can disallow a particular package in Debian by appending /etc/apt/preferences with: Package: *x11* Pin: release Pin-Priority: -1 But how can I do that for a virtual package like httpd? I'd ...
0
votes
1answer
185 views

Removing sources from sources.list doesn't work

I had recently upgraded to php 5.4 but it was not working for me so I thought I'd remove php 5.4 and re-install php 5.3. I uninstalled php5.4, removed the dotdeb sources from sources.list file, ran ...
0
votes
1answer
141 views

Squid3 for Debian updates with upstream proxy

I often need to setup new Debian servers, so I'm trying to setup a Squid proxy to cache apt-get updates/upgrades. But I always have a problem with some specific files it can retrieve. Details: i'm ...
3
votes
2answers
436 views

No APT Recommends with puppet

I use puppet to manage a bunch of Debian servers at work, part if that includes installing packages. One package I install on several systems is nmap which is used to verify that firewall rules are ...
0
votes
3answers
3k views

Failed mysql upgrade to 5.5 on debian wheezy

When upgrading debian squeeze to wheezy, the upgrade of mysql to mysql-server-5.5 fails: # apt-get dist-upgrade -u ... Setting up mysql-server-5.5 (5.5.31+dfsg-0+wheezy1) ... [ ok ] Stopping MySQL ...
1
vote
1answer
736 views

Error after trying to install php5-mcrypt on Debian Squeeze

I want to install php5-mcrypt, but I get this error after entering a apt-get install php5-mcrypt Error: php5-mcrypt : Hängt ab von: php5-common (= 5.3.3-7+squeeze15) aber 5.3.9-1~dotdeb.2 soll ...
-1
votes
2answers
264 views

Can't install Nginx on Wheezy

I'm trying to install nginx on wheezy using this code in my deployment script: echo "deb http://nginx.org/packages/debian/ wheezy nginx" | sudo tee -a /etc/apt/sources.list echo "deb-src ...
2
votes
2answers
177 views

Debian Squeeze: apt-get hangs on download packages from our local repository

hope you guys can help me find out a solution to this problem that's causing me headache. My company has a number of front end servers based upon Debian Squeeze, we also set up a local repository ...
0
votes
1answer
41 views

How to show uninstalled package size in Debian

Is there a way to show the package size without installing a package in Debian, using apt-get,dpkg or something similar (please don't say install YUM)?