aum

genchroot-tarball: Directory not empty

Bug #1185578 reported by ManDrive on 2013-05-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aum
Undecided
Unassigned

Bug Description

sudo genchroot-tarball --name=mageia_3_i586 --add-rpmmacros=rpmmacros --format=xz --urpmi-options="--no-suggests,--quiet" --distrib=http://mirror.yandex.ru/mageia/distrib/3/i586/ basesystem-minimal rpm-build sudo urpmi curl
[sudo] password for user:
cannot remove directory for /var/lib/urpmi/Core Release (Virtual5): Directory not empty at /usr/lib/perl5/vendor_perl/5.14.2/urpm/sys.pm line 335
cannot remove directory for /var/lib/urpmi/Core Updates (Virtual7): Directory not empty at /usr/lib/perl5/vendor_perl/5.14.2/urpm/sys.pm line 335
problem reading synthesis file of medium "Core Release (Virtual5)"
Error generating names file: dependency 0 not found
problem reading synthesis file of medium "Core Updates (Virtual7)"
Error generating names file: dependency 0 not found
No package named basesystem-minimal
No package named rpm-build
No package named sudo
No package named urpmi
No package named curl
Error while installing packages in chroot directory. Cleaning up and exiting...

ManDrive (roman-romul) wrote :

sudo genchroot-tarball --name=mageia_2_i586 --add-rpmmacros=rpmmacros --format=xz --urpmi-options="--no-suggests,--quiet" --distrib=http://mirror.yandex.ru/mageia/distrib/2/i586/ basesystem-minimal rpm-build sudo urpmi curl
[sudo] password for user:
cannot remove directory for /var/lib/urpmi/Core Release (Virtual5): Directory not empty at /usr/lib/perl5/vendor_perl/5.14.2/urpm/sys.pm line 335
cannot remove directory for /var/lib/urpmi/Core Updates (Virtual7): Directory not empty at /usr/lib/perl5/vendor_perl/5.14.2/urpm/sys.pm line 335
    http://mirror.yandex.ru/mageia/distrib/2/i586/media/core/release/media_info/20120816-155503-synthesis.hdlist.cz
    http://mirror.yandex.ru/mageia/distrib/2/i586/media/core/updates/media_info/20130525-192404-synthesis.hdlist.cz
resolvconf.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig resolvconf on

ManDrive (roman-romul) wrote :

#workaround:
sudo echo n|genchroot-tarball --name=mageia_2_i586 --add-rpmmacros=rpmmacros --format=xz --urpmi-options="--no-suggests,--quiet" --distrib=http://mirror.yandex.ru/mageia/distrib/2/i586/ basesystem-minimal rpm-build sudo urpmi curl
sudo echo n|genchroot-tarball --name=mageia_2_i586 --add-rpmmacros=rpmmacros --format=xz --urpmi-options="--no-suggests,--quiet" --distrib=http://mirror.yandex.ru/mageia/distrib/2/i586/ basesystem-minimal rpm-build sudo urpmi curl

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers