Software :: Force Apt-get To Re-download And Reinstall Dependencies As Well?

Apr 5, 2011

I'm working on a script called "populator". This script will be run on a linux box with the single purpose to download a set of packages (i.e. "ubuntu-desktop" metapackage) to trigger the caching by a deb-proxy. The reason is to pre-cache the proxy in advance, thus reducing the amount of time to install the first production Linux box, not necessarily going to be installed immediately after deb-proxy deployment. As for now, the script is extremely rough and simple:

1. clean the apt-get cache

2. run apt-get install with specified parameters to force reinstall, download only, output urls

3. pass the url list to wget and throw everything in /dev/null

with the specified parameters the script does the job. The only problem regards dependency handling: they are downloaded just the first time, even after apt-cache clean. I need apt-get to re-download dependencies as well. THIS is the real need.

Script follows:

Code:

#!/bin/bash
#
# Script to pre-populate apt-get proxy for faster later downloads.
# It uses apt-get and wget to pull all the specified packages.

[code]....

View 4 Replies


ADVERTISEMENT

Ubuntu :: How To Force Reinstall Package After Removing

Jun 7, 2010

I'm trying to re-install tomcat6 after removing it and all it's dependencies, but it got corrupt when trying to re-install. I'm on Ubuntu Sever Lucid 10.04 LTS with command line only.

I started with:
Code:
sudo apt-get auto-remove tomcat6
Then I deleted the /etc/tomcat6 directory manually since it contained file settings I didn't want. I assumed it would automatically install the missing files.

Then I tried re-installing tomcat6 as follows:
Code:
sudo apt-get install tomcat6

This yielded an error:
Code:
Setting up tomcat6 (6.0.24-2ubuntu1) ...
chmod: cannot access `/etc/tomcat6/tomcat-users.xml': No such file or directory
dpkg: error processing tomcat6 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up authbind (1.2.0build3) ...

Errors were encountered while processing:
tomcat6
E: Sub-process /usr/bin/dpkg returned an error code (1)
How are you supposed to completely remove a package and re-install it normally?

View 3 Replies View Related

Ubuntu :: Reinstall Openoffice Error - " Package Dependencies Cannot Be Resolved

Jan 12, 2011

So I tried out Libreoffice and want to revert back to Openoffice for the time being. I uninstalled Libreoffice from ubuntu software center and now I can't reinstall openoffice from USC. i get this error:

" Package dependencies cannot be resolved: This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time. " does anyone have a way of fixing this? edit: i've tried sudo apt-get install openoffice.org in terminal but it didn't work as well (i'm total noob)

View 4 Replies View Related

Debian :: Download Packages And Dependencies

Jun 15, 2010

I'm hitting my head against the wall trying to figure out (and find any information on) how to download a package and all its dependencies.I've tried to clean the cache,$ sudo apt-get clean and then download a package and its depednencies,but it doesn't download dependencies that are already installed.I need to do this to install a package on a machine that doesn't see the net.I remember doing this somehow ages ago, and I think I might have even combined the package and its dependencies into a single self-contained .deb using dpkg.

View 4 Replies View Related

Debian :: How To Download A Package And Its Dependencies From Windows

Aug 4, 2015

I'm trying to install debian in my surface pro but I can't get the network card configured. I installed Arch before and it's wpa_supplicant package was working just fine until the last update. I was wondering if I could download the wpa_supplicant for debian and all it's dependencies from my windows OS to be able to configure my wireless card properly in Debian.

View 4 Replies View Related

Ubuntu :: Download .deb Parkage With Its Dependencies At Once On Using Windows?

Apr 22, 2010

I was wondering if there is a trick to manipulate terminal in windows system to use the eg apt-get install gstreamer, what i exactly mean is I dont have internet and would like to install stuff but i always run into dependency problems. i use the internet cafe to download staff.

View 9 Replies View Related

General :: Gimp Download - Something Wrong With Dependencies

Jan 7, 2011

I'm having some problems downloading some applications. I was hoping to download Gimp but it says that I'm having problems with the dependencies.

View 2 Replies View Related

Programming :: Dependencies For Graphics - How To Download Them As A Bundle

Jan 26, 2010

I'm writing simple programs using C++ on CodeBlocks, now I got stuck on a bus reservation program which need the following header files

#include "conio.h"
#include "stdio.h"
#include "iostream.h"
#include "string.h"
#include "graphics.h"
#include "stdlib.h"
#include "dos.h"

[Code]...

My question is how to dowload all these in interface folder instead of downloading one by one? Tried googling but no success.

View 2 Replies View Related

Fedora Installation :: Force To Load From CDs / Download Everything From Network, Not From CDs?

Oct 11, 2009

I have made a set of ISO CDs for Fedora 11. I put in the first one (disc1 not the Live CS) and boot the system. This is fine. I choose "Install or upgrade an existing system". It is a fresh system not an upgrade. The installation proceeds - but it starts to download everything from the network, not from the CDs. How do I prevent this and force it to load from the CDs?

View 2 Replies View Related

OpenSUSE :: Download Package Dependencies For Offline Installation?

Oct 25, 2009

is there a way to get urls of the packages that have been updated and then download them in another computer? like this feature of ubuntu HOWTO: Download package dependencies for offline installation - Ubuntu Forums

its a simple feature and its present in smart and synaptic,yet its not in yast (or i havent found it yet.

i would use smart package manager but in my home connection for checking for updates ,yast is better ( smart downloads filelist.xml.gz that is very way biger than what yast downloads (though it enables smart to show filelist of package BEFORE installing) .so at home i can check for package update with yast ,buy downloading them is very hard. (my connectioon is very bad (i live in iran) and yast mirrors are NOT the best of servers ,so yast gets interrupted in middle downloading a rpm and the whole process is waiting for me to press retry ,so i cant do updates and installs overnight.btw is there some way to tell it to retry always or a number of times automatically? )

i need the url links of rpms so i download them separately and install them.

View 9 Replies View Related

General :: Download And Install A Debian Package With All Dependencies?

Mar 5, 2011

what do I need to add to /etc/apt/sources.list? can't really understand the howtos and tutorials

View 7 Replies View Related

Fedora Installation :: Force The Upgrade FC10 - FC11 With Online Download?

Aug 2, 2009

How can I force the upgrade FC10 -> FC11 with online download? Somewhere in Software Update settings?

View 2 Replies View Related

OpenSUSE Install :: Reinstall Windows 7 But Its A Pain To Reinstall All Programs?

Apr 29, 2010

I recently installed opensuse 11.2 on my laptop which also had windows vista and windows 7, i created a new partition and the installation went smoothly, after i went to boot back into windows 7 i got a blue screen of death, strangely vista boots perfectly.I could just reinstall windows 7 but its a pain to reinstall all my programs and such

View 6 Replies View Related

Ubuntu Installation :: Reinstall The Games Package Or Reinstall The Update?

May 2, 2010

So I was messing around trying to uninstall Nibbles and reinstall since I have an issue starting that game and something happened and removed the submenu under Games called "Logic", which had another whole list of games.

Is it possible to reinstall the games package or reinstall the update?I'm thinking more of the lines of a system restore or something so back 2 days from today.

View 2 Replies View Related

General :: Retrieve/reinstall Grub Without Having To Reinstall Ubuntu?

Feb 4, 2011

how do I retrieve/reinstall Grub without having to reinstall Ubuntu?

View 1 Replies View Related

Ubuntu :: Can't Reinstall Grub After Reinstall Of Win 7

Dec 6, 2010

i have ubuntu 10.04 64 bit installed and configured and working sweet. I have reinstalled windows 7 and now i can't boot ubuntu i've tried easybcd to add ubuntu to win boot loader which failed and tried to follow the instructions to reinstall grub through a live cd which i am in at the moment. i go to a terminal and type sudo grub and it brings up the grub prompt. i have mounted all discs and entered the command find /boot/grub/stage1 and it keeps spitting this back at me Error 15: File not found

my hd is a 80gb with partions like this
/dev/sda1 105mb ntfs system reserved
/dev/sda2 45gb ntfs win 7 home premium 64 bit
/dev/sda3 34gb ext4 ubuntu 10.04 64 bit
/dev/sda4 1.5gb linux swap

View 9 Replies View Related

Server :: Skipping Failed Dependencies Error / Rpm -u /packages Recieve A Failed Dependencies Error?

Nov 2, 2010

I am currently trying to upgrade over 100 rpms on multiple Red Hat servers. Whenever I try to do a rpm -u /packages/*.rpm i recieve a failed dependencies error on the very first rpm. I know that I can go though each rpm one by one and trace each dependency but that will take forever. Is there a way to skip these errors? I know the -nodeps command for rpm but I dont want to screw something up but running all of these rpms on -nodeps

View 10 Replies View Related

Ubuntu :: Force Quit Force Quit?

Sep 24, 2010

So I have force quit and the little window is stuck. reads "click on a window to force the application to quit. To cancel press <ESC>" How the heck do I get rid of it? I tried xkill, it does not work.

View 3 Replies View Related

Ubuntu Networking :: Multiple Ip Download - Share The Download Between The Computers To Get The Cumulative Speed?

Jan 8, 2011

I am at a university where my bandwidth is severely capped. I can start several other computers near me and download at the limited speed simultaneously. Is there any way for me to share the download between the computers to get the cumulative speed?

View 1 Replies View Related

Ubuntu :: Natty Download Speeds - Takes 20 Minutes To Download Language Packs

Apr 28, 2011

I just installed 11.04, and the software center is almost unusable. I'm currently clocking about 32kb/s on my modern laptop. Does anyone know how to fix this? PS- During install, it took 20 minutes to download the language packs, and it said I would be there close to forever for the update downloads.

View 8 Replies View Related

Fedora Installation :: Find A Download For The Desktop Version - SERVER X64 Download

Jun 5, 2010

This is our first time choosing and installing linux. Our other servers are all windows 2008 x64. We were told to install fedora 13. I can only find a download for the desktop version and we're looking for the SERVER x64 download. Could I please get a link?

View 7 Replies View Related

Ubuntu :: Download Open Suse But It Takes Up To An Hour To Download The 600mb?

Jan 21, 2011

I want to download open suse but it takes up to an hour to download the 600mb .iso, my internet speed aren't that slow though. Im downloading the Live KDE, Direct Link 32-bit, all the other types of download have strange torrent or metalink fileformat. Is this just me

View 9 Replies View Related

Ubuntu :: Alternative To Internet Download Manager To Download Movies From Any Website?

Mar 17, 2011

Alternative to Internet Download Manager (IDM) to download movies from any website.Ok, so one of the cool things about IDM was that i was able to download movies from ..... and other sites that have video clips on their site, but now that i have switch all my computers over to ubuntu linux, i now need an alternative to this problem because IDM will not work with the firefox on ubuntu linux.So my question is, do you guys know of an alternative software for downloading movies from any site such as ..... and other sites?

View 5 Replies View Related

General :: Unable To Download Mepis 3.3 From Download Sites Listed By Grim322

May 31, 2010

How to repartition a hard drive using Mepis 3.3, none of the listed sites will open to me. Is this the best software to repartition a new Windows 7 hard drive? I notice there are later versions of the Mepis software.

View 10 Replies View Related

OpenSUSE Install :: Use The Existing Download Or A Way Toget A Correct Download?

Jan 25, 2010

I have been using ubuntu for a good time and now i want to install opensuse.I have dwnlded the new (11.2) version 2 times but on installing it says unable to create repository. it takes a full day to dwnld here.. please suggest how to use the existing dwnld or a way toget a correct dwnld. i think the earlier one is corrupt.

View 9 Replies View Related

Ubuntu Installation :: Download The Update And Then The Others To Download From The Local Resource

Aug 2, 2010

Here at home I have several Ubuntu installations, mine, the kids computers and a couple of laptops. What I'm looking for is a solution or a pointer in the right direction to setup on our local Ubuntu server a sort of cache. Each day each Ubuntu on the network, checks for updates and downloads, and installs. What I'm looking for is a way for one machine to download the update and then the others to download from the local resource.

A sort of local cache to try and minimise everyone downloading straight from the net for pretty much the same updates. I did a emerge cache many years ago when I was using Gentoo, so I'm wondering what I can use/do here with Ubuntu as we are all loving this distro now.

View 2 Replies View Related

Ubuntu :: Use Recursive Download Of Wget To Download All Wallpapers On A Web Page?

Dec 21, 2010

can we use recursive download of wget to download all the wallpapers on a web page?

View 5 Replies View Related

Debian :: Jigdo Download Of DVD-7 ALWAYS Fails With Just 5 Files Left To Download

Mar 9, 2011

I haved tried 3 times to download DVD-7 from http://cdimage.debian.org/debian-cd/...md64/jigdo-dvd, and every time it has failed with just 5 files left to download.

It says:
I cannot begin to describe. All those hours of downloading for nothing! What the heck is happening here? When I try to just continue on, I get error code 3 aborts and have to just start all over.

View 3 Replies View Related

General :: Unable To Download VLC Media Player From Download Page(s)

Mar 15, 2010

First I go to the following URL to download the latest version of VLC Player, which I greatly prefer to Totem or any other standard Linux video/audio player: http://www.fileguru.com/Movie-Player/download. After I click on the "Download" link, a new window appears which asks me if I want to 1) Open with Archive Manager (default) or 2) Save File. There is a drop down arrow next to the first choice which only gives "Other..." as the only other choice. Well, if I choose the first option, the download appears as an .exe file in the "Downloads" window.

A window with "Download Error" in its Title Bar appears with the following message in it: "/tmp/VLC_Player_Setup-3.exe could not be opened, because the associated helper application does not exist. Change the association in your preferences." I don't even know yet how to even open up an .exe file in Linux, despite repeated research.

View 1 Replies View Related

OpenSUSE :: Repository Download - Keep Getting The Error That : Download Failed?

Aug 31, 2010

In both my updater applet and in YAST, I keep getting the error that:

download failed:

download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.2/repodata/repomd.xml

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved