Ubuntu :: Debootstrap Does Not Get Correct Package Repository?
Aug 1, 2011
I am trying to run "sudo pbuilder create" where it runs debootstrap. Then it says:
Code:
I: Checking component main on http://bg.archive.ubuntu.com/ubuntu. Problem is that this is the old repo I've used. After installing pbuilder and the other dpkg essential packages I've run "sudo pbuilder create", noticed the message of the repo and since I am no longer in Bulgaria, interrupted the script, went to synaptic and changed the repo from there (now is http://archive.linux.duke.edu/ubuntu/). Even rebooted. Double-checked in synaptic the repo is still changed, grepped the files in /etc/apt for "bg" and all results were commented. I ran again "sudo pbuilder create" and it still reports the old repo.
So where does debootstrap reads the repo setting from and how to fix it?
I'm running Karmic Desktop Live CD from a USB stick, and trying to install Ubuntu to a hard disk using debootstrap I get these errors:
$ sudo debootstrap karmic /dir file:///cdrom/
Quote:
I: Retrieving Release I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... W: Failure trying to run: chroot /dir mount -t proc proc /proc
[Code].....
I've read this bug report: [URL] basically, the discussion states that Desktop CD can not be used as package source for debootstrapping, I understand it is because of different file structure than the required for a repository, but would like to know more specific information about it, and if possible, how could I use the CD as package source for debootstrap?
Question: "where/how can I look for the correct repository to install X application?, let say I want to install synaptic, or google chrome or X, I know I need the right repositories added to my sources.list.. but what are the right repositories?, is there a "repository finder" or someting like that?
When update ubuntu 8.04 amd 64 show this message: Could not download all repository indexes. The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct. Failed to fetch [URL] 404 Not Found. Some index files failed to download, they have been ignored, or old ones used instead.
I've been trying to update Fedora 15 for weeks. I always end up with a transaction error and the update stalls. The error reads: GPG keys listed for RPM Fusion for Fedora Rawhide-free repository are installed but they are not correct for this package. Check that the correct key urls are configured for this repository. This is far too involved for a linux newbie, I think my only option is to reformat and reinstall. This is so frustrating, there are 250 MB of updates available that I can't access.
I'd like to add the following repository[URL].. Also i can't seem to save the link in the directory /etc/yum.repos.d/ directory Permissions tab are grayed out.
If a software package I want to install is available in more than one repository, how can I choose which repository to install the package? And is there a way to do this with Synaptic?
I noticed today when I was offered by synaptic to update some packages that there seemed to be two versions available from the same repository (stable). How could that happen?
For instance if I check package "xscreensaver" installed version is 5.30-1+b1 and versions available are; 5.34-1 (testing)5.30-1+deb8u1(stable)5.30-1+b1 (stable)
Below is my /etc/apt/sources.list. I'm not sure why, but rows 1 and 6 are identical except for stable beeing replaced by jessie. Row 3 and 7 are almost same too. Because jessie=stable (at the moment), is there any point with having duplicated rows in sources.list?
Code:
Select alldeb http://ftp.se.debian.org/debian/ stable main non-free contrib deb http://ftp.debian.org/debian/ stable-updates main non-free contrib deb http://security.debian.org/ stable/updates main non-free contrib
deb http://ftp.se.debian.org/debian/ testing main non-free deb http://ftp.se.debian.org/debian/ jessie contrib non-free main <--- Same as first row? deb http://security.debian.org/ jessie/updates contrib non-free main
I am using Fedora Core 4. While trying to install a package or update yum repository I get the following error
# yum update Setting up Update Process Setting up repositories Cannot open/read repomd.xml file for repository: legacy-base failure: repodata/repomd.xml from legacy-base: [Errno 256] No more mirrors to try.
tried to search the web but couldn't find any working solution.
I need to install some software which allows me to read chm files. I cannot seem to find the appropriate package in the base repository. How can I install such a reader?
My system needs the pnm2ppa package for printer driver installation (CUPS). It can't be found, so I think, I have to add a repository. But what's the name/url? openSUSE 11.2 586
My procedure for updating the installed packages was, to klick on the list of packages that are installed in the installation source @ system in YAST and choose "Update if newer version is available". Up to Suse 11.3 Yast automatically chooses the latest version from each available repository that is installed (eg, Packman or Mozilla Build Service). With 11.4 however, I noticed that it only updates a package, if a newer version is avalible in the repository from which the package originally origines. Since I don't want to look through 4 GB of packages manually, whether there are newer versions in another repository available, I ask you if I there is a posibility to get the old behavior of YAST back.
I read a few threads about updating packages in opensuse 11.3, and about switching to a repository, but I still don't understand a few things. On earlier versions of opensuse I was used to set the repository priorities in an order that was convenient for me, and when I did an update, the vendor changed if needed. Now, vendor change is not allowed by default, and I don't understand the right way to handle repositories, and updates. I found out that in Software Managment there is an option to allow vendor change, but I'm not sure that's the right way.
I am running 64-bit Lucid; would running 64 bit be the problem? Anyway, A few of the packages I've been trying to install include Wine 1.3 and a proprietary ATI FGLRX graphics driver for my Laptop's Radeon 4250 graphics card. Many other things I try to install from the Synaptics Package Manager (or anywhere, including the Ubuntu Software Centre) come up with the "E:Unable to correct problems, you have held broken package" as well. It is very frustrating and it is a very vague error. Is it my 64 bit Ubuntu or is it already installed packages that are broken...?
When using apt-cache to find the reverse depends of a package, it would only show dependencies for packages in repositories that you have added wouldn't it? It wouldn't show that a package in a repository that your apt has never heard of depends on it?
I'm a slackware guy and don't use apt but am helping someone else and I almost told them that before I realized that I just made it up out of the blue.
I've been trying to install Ubuntu server 10.04 and I keep getting a Debootstrap warning. Warning: file:///cdrom/pool/main/p/plymouth/libplymouth2_0.8.2-2ubuntu2_i386.deb was corrupt. I am then presented with options to Continue or Go Back. Whichever option I choose, the installer keeps giving me Deboostrap warnings. I've tried to find solutions online and I've done the CD integrity test as well as a memory test. I've passed both. i am installing this on a Dell Dimension 8400 machine with 1 GB RAM and a 80 GB HDD.
first time with debootstrap, i followed: [URL] the error i get on boot looks like this:
Code: Select all [URL]
they did not mention lvm speficically so i just installed lvm2 inside the chroot and created my fstab like this:
Code: Select all/dev/mapper/debian--unstable-root / ext4  errors=remount-ro 0    1 /dev/mapper/debian--unstable-home /home ext4  defaults    0    2 /dev/mapper/debian--unstable-tmp /tmp    ext4  defaults    0    2 /dev/mapper/debian--unstable-var /var  ext4  defaults    0    2
Having one mounted from jessie looks like this:
Code: Select all/dev/mapper/debian--unstable-root on /home/julius/other-systems/debian-unstable type ext4 (rw,relatime,data=ordered)
So I guess the fstab is correct
I already tried to "refresh" the inittab with:
Code: Select allupdate-initramfs -u command ran ok, but no change at boot.
Im currently installing debian on my old server, its a 64bit computer, so i've downloaded the amd64 for this project. But under the Basis Installation, of this cd image, im getting a debootstrap warning every time i want to continue the installation, the last warning i remember was something coreutils_6.10-6_amd64.deb (Something like that, not totaly sure), and im lost, can't find anything closely related to the subject.
I just did a simple debootstrap lenny /opt/lenny-chroot http://fpt.de.debian.org/debian There is no vmlinuz or initramfs under /opt/lenny-chroot/boot. What would be the next minimalistic necessary step to get it there?
For my dissertation I created a debootstrap install of Lenny. When I boot this system I just can login with root without a password. When I want to ssh this machine with the debootstrap install I can't just login with root. I'm asked for a password which I don't have.
So I created one with passwd root and after that I can connect to the machine with ssh and the given password. But the machine still logs in with without a password.
At work they gave me the following task (and i need some help from you guys!):At work we have a normal PC running Ubuntu 9.10 (32-bit), which works good.We also have a LaCie Ethernet Disk Mini v2, which runs embedded Linux (RedHat), but is so trimmed down, you can't use the disk we would like to use it.The task is this: On the X86 machine, make a bootable image for the ARM architecture and write it to a harddisk (which fits the LaCie offc.) so it can boot off it.Now i have done some investigation, but don't know how to combine it all:
- I can use debootstrap to create a minimal Debian system, but there comes the problem, you can't chroot into a foreign created system (i.e. X86 cannot chroot into ARM system). - I can use QEMU, which can emulate a ARM processor, but can i use the image that QEMU uses as a normal image for a harddisk, so it would boot off it (when using dd to write it to a real harddisk)? - Current kernels support the LaCie hardware (Marvell chipset) - I know how to use tools such as dd, so if the image is generated i can write it to disk and have the LaCie boot from it.
The LaCie box has the following: 1 ARM9 ARMv5TEJ (266 MHz) CPU with 64 Mb RAM, Gigabit network controller and 1 usb host port, internal there is a sata port obviously.The only thing i want at the moment is to have the LaCie boot Debian and i can SSH into it, from there the rest is easy as pie.Is someone willing to help me accomplish this task? It would seriously mean and help alot!If all goes well and if i get all things up and running i would like to make a Howto of it and place that here, maybe it will be of some use !
I have an etch-based Xen server that has several Xen domU's on it. All the domU's are etch or lenny based, but I'd like to install a karmic guest. I use xen-tools to install my domU's - e.g., xen-create-image --debootstrap <etc.>After much googling, I've found bits and pieces of info that have gotten me closer to the goal, but the debootstrap script I have is for hoary (I think etch came with this), and I'm pretty sure this won't work.
If you have been able to successfully install a Karmic guest on an etch or lenny host, I'd be very grateful for pointers.
Im not able to install the package mesa-32bit from this repository: Index of /repositories/X11:/XOrg/openSUSE_11.3. It tells me to make a huge change on architecture on many packages, plus downgrading mesa to 7.8.2 from 7.9 !
I downloaded the first CD Image as instructed at [url] and installed it on my laptop. I would like to install the "Synaptic Package Manager" and a mirror repository so that my system can update.
I have apparently installed " apt-cdrom add" and then typed "apt-get update" and I tried to install the mirror when the system was installed but as the wireless was not connected it apparently did not add the correct details.
I am trying to install Wheezy testing i386 using netinstall .iso disk.
After the disk partition stage and while in the 'Install the base system' stage I get the message;
Debootstrap error:
The following error occurred: The bzcat is not available on the system Check /var/log/syslog or see virtual console 4 the details.
I have over the past couple of months downloaded three daily builds of testing and the md5sums are good on all of them yet I have the same problem with each disk.