Bug 28607 - Script clean.sh welches von univention-repository-update generiert wird, unzureichende Pfade
Script clean.sh welches von univention-repository-update generiert wird, unzu...
Status: RESOLVED DUPLICATE of bug 28048
Product: UCS
Classification: Unclassified
Component: Update - Repository administration
UCS 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-19 16:00 CEST by rolandb
Modified: 2018-04-14 13:51 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rolandb 2012-09-19 16:00:59 CEST
Hallo Leute

Man führt "univention-repository-update net" aus und diese Ausgabe erscheint in den Logs:


==> repository.log <==
Downloading 1224 index files using 10 threads...
Begin time: Wed Sep 19 13:32:27 2012
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Wed Sep 19 13:32:31 2012

Proceed indexes: [PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP0.0 bytes will be downloaded into archive.
]

0.0 bytes will be downloaded into archive.
Downloading 0 archive files using 0 threads...
Begin time: Wed Sep 19 13:32:34 2012
[0]...
End time: Wed Sep 19 13:32:34 2012

6.6 GiB in 563 files and 18 directories can be freed.
Run /var/lib/univention-repository/var/clean.sh for this purpose.

Running the Post Mirror script ...
(/var/lib/univention-repository/var/postmirror.sh)

/bin/sh: /var/lib/univention-repository/var/postmirror.sh: No such file or directory

Post Mirror script has completed. See above output for any possible errors.

***** Starting univention-repository-update at Wed Sep 19 13:31:59 2012

Setting repository/mirror/version/end
File: /etc/apt/mirror.list


Im Script "clean.sh" werden die Pfade nicht korrekt gesetzt, darum würde es nie funktionieren. Wenn man ein Repo von mehrer UCS Versionen UCS2.2 2.3 2.4 3.0 dann sieht man es sofort.

#!/bin/sh

cd /var/lib/univention-repository/mirror || exit 1

echo 'Removing 563 unnecessary files [7132360704 bytes]...'
rm -f 'maintained/sec2/extern/adobereader-enu_9.4.1_i386.deb'
echo -n '[0%]'
echo -n .
rm -f 'maintained/sec2/extern/adobereader-enu_9.4.1_amd64.deb'
rm -f 'maintained/sec2/extern/adobereader-deu_9.4.1_amd64.deb'
rm -f 'maintained/sec2/extern/adobereader-deu_9.4.1_i386.deb'
rm -f 'maintained/sec2/extern/Packages'
rm -f 'maintained/sec2/extern/Packages.gz'
rm -f 'maintained/hotfixes/i386/linux-image-2.6.32-ucs62-686_2.6.32-41~ucs1.62.201204231104_i386.deb'
rm -f 'maintained/hotfixes/i386/libclamav6_0.97+dfsg-1.93.201103011540_i386.deb'
rm -f 'maintained/hotfixes/i386/postfix_2.5.5-1.1.37.201103091032_i386.deb'
rm -f 'maintained/hotfixes/i386/univention-kernel-image-mobileclient-2.6.32_1.0.15-9.58.201204240815_i386.deb'
rm -f 'maintained/hotfixes/i386/libavutil49_0.svn20080206-18.10.201109221108_i386.deb'
echo -n .
rm -f 'maintained/hotfixes/i386/python-libxml2_2.6.32.dfsg-5.34.201109131010_i386.deb'
rm -f 'maintained/hotfixes/i386/libkdc2-heimdal_1.2.dfsg.1-2.1.206.201201101406_i386.deb'
rm -f 'maintained/hotfixes/i386/libkrb5-25-heimdal_1.2.dfsg.1-2.1.206.201201101406_i386.deb'
rm -f 'maintained/hotfixes/i386/libnss3-1d_3.12.3.1-0.11.201102161017_i386.deb'
rm -f 'maintained/hotfixes/i386/libroken18-heimdal_1.2.dfsg.1-2.1.206.201201101406_i386.deb'
rm -f 'maintained/hotfixes/i386/samba-common-bin_3.5.4~dfsg-1.468.201103071029_i386.deb'
rm -f 'maintained/hotfixes/i386/firefox_3.6.26-1_i386.deb'
rm -f 'maintained/hotfixes/i386/libsmbclient_3.5.11~dfsg-1.526.201204301627_i386.deb'
rm -f 'maintained/hotfixes/i386/bind9utils_9.5.1.dfsg.P1-2.92.201112201143_i386.deb'
rm -f 'maintained/hotfixes/i386/libpostproc51_0.svn20080206-18.10.201109221108_i386.deb'
echo -n .

der Pfad zu diesen Dateien /var/lib/univention-repository/mirror/2.4/maintained/sec2/extern/adobereader-enu_9.4.1_amd64.deb es wurde also vergessen in das entsprechende Verzeichnis z.B. 2.4 zu wechseln.

mfg, Roland
Comment 1 Stefan Gohmann univentionstaff 2012-09-19 16:52:59 CEST
Ist dieser Bug identisch mit Bug #28048?
Comment 2 rolandb 2012-09-19 17:03:31 CEST
(In reply to comment #1)
> Ist dieser Bug identisch mit Bug #28048?

ups, ja ist identisch wurde auch von mir erfasst :-(
Comment 3 Stefan Gohmann univentionstaff 2012-09-19 17:09:12 CEST
(In reply to comment #2)
> (In reply to comment #1)
> > Ist dieser Bug identisch mit Bug #28048?
> 
> ups, ja ist identisch wurde auch von mir erfasst :-(

Kein Problem.

*** This bug has been marked as a duplicate of bug 28048 ***