On Sat, 23 Jan 2021 22:43:38 +0100 (CET) Martin Flemming <martin.flemm...@desy.de> wrote:
> Hi ! > > I've got an error while upgrading to 1.8.5 on Debian buster > > root@deb10vm:/etc/apt/sources.list.d# cat /etc/debian_version > 10.7 > > > cat debian-testing.list > > ###### Debian Main Repos > deb http://deb.debian.org/debian/ testing main contrib non-free > deb-src http://deb.debian.org/debian/ testing main contrib non-free > > deb http://deb.debian.org/debian/ testing-updates main contrib non-free > deb-src http://deb.debian.org/debian/ testing-updates main contrib non-free > > > > root@deb10vm:/etc/apt/sources.list.d# apt upgrade openafs-client > Reading package lists... Done > Building dependency tree > Reading state information... Done > Calculating upgrade... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > openafs-client : Depends: libcrypt1 (>= 1:4.1.0) but it is not going to be > installed > E: Broken packages > > > What's going on respectively what should i do for an smoothly upgrade to > 1.8.5 ? Hello Martin, One alternative is to build debs for debian 10 containing the CID fix while we wait for the Debian stable release process. Here are the steps I used to built debs for debian 10 (wheezy). 1. Get the CID fix patches from 1.8.7 $ git clone git://git.openafs.org/openafs.git $ cd openafs $ git format-patch -n3 openafs-stable-1_8_7~2 0001-rx-rx_InitHost-do-not-overwrite-RAND_bytes-rx_nextCi.patch 0002-rx-update_nextCid-overflow-handling-is-broken.patch 0003-Remove-overflow-check-from-update_nextCid.patch 2. Install build prereqs $ sudo apt-get install build-essential fakeroot devscripts lintian $ sudo apt-get build-dep openafs 3. Get the debian 10 sources $ mkdir -p Debian/openafs $ cd Debian/openafs $ apt-get source openafs 4. Include the patches Copy the 3 patch files to debian/patches. $ cp ~/openafs/*.patch ~/Debian/openafs/openafs-1.8.2/debian/patches Add the patch names to the end of patches/series. $ cat ~/Debian/openafs/openafs-1.8.2/debian/patches/series 0003-Catch-up-to-roken-s-rename-of-base64-symbols.patch butc-repair-build-error.patch 0001-rx-rx_InitHost-do-not-overwrite-RAND_bytes-rx_nextCi.patch 0002-rx-update_nextCid-overflow-handling-is-broken.patch 0003-Remove-overflow-check-from-update_nextCid.patch 5. Add a new entry at the top of the changelog. The format must be exact. For example: $ head ~/Debian/openafs/openafs-1.8.2/debian/changelog openafs (1.8.2-2~sna+1) unstable; urgency=emergency * Pull in upstream patches to fix outgoing connections after unix epoch time 0x60000000 (Closes: #980115, #980116) -- Michael Meffie <mmef...@sinenomine.net> Mon, 18 Jan 2021 15:35:00 -0500 6. Build the packages with the 'debuild' helper. $ cd ~/Debian/openafs/openafs-1.8.2 $ debuild -us -uc The resulting .dep package files will be placed in ~/Debian/openafs and can be installed with dpkg -i, in order (kernel source, then client, then servers.) -- Michael Meffie <mmef...@sinenomine.net> _______________________________________________ OpenAFS-devel mailing list OpenAFS-devel@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-devel