Update not possible Core 8.7.*
-
question which is slightly more unrelated.
If you want to upgrade kopano core from the repositories without having to update the entire installation (i.e. excluding Webapp).
What do you do in debian?
i.e.
apt-get install whatname?
Thank you.
-
@thctlo said in Update not possible Core 8.7.*:
https://github.com/thctlo/Kopano
The script should still work correct with debian.
Thank you I will have a look at that.
@mcostan said in Update not possible Core 8.7.*:
question which is slightly more unrelated.
If you want to upgrade kopano core from the repositories without having to update the entire installation (i.e. excluding Webapp).
What do you do in debian?
i.e.
apt-get install whatname?
Thank you.
I’m always downloading the core packages, unpack them and then run dpkg command to install every package. I’m doing this for every package I need e.g. webapp, mdm and so on.
-
i run my script and if everything is ok, its ready to upgrade.
The script itself only collects all packages, put it in folder and make it apt-get available.
For you i suggest…
run the script, that makes all packages available for upgradeing.apt update && apt upgrade
p.s.
in the script, you can change what you want to get into the repo, change this variable:
KOPANO_COMMUNITY_PKG=“core archiver deskapp files mdm smime webapp”
shown is what i use. -
Well sadly it doesn’t work for me. Or I make a mistake.
I get:
apt-cache policy kopano-server-packages
kopano-server-packages:
Installiert: 8.7.80.587.10057ac52-0+100.1
Installationskandidat: 8.7.80.587.10057ac52-0+100.1
Versionstabelle:
*** 8.7.80.587.10057ac52-0+100.1 100
100 /var/lib/dpkg/status -
hm, debian 9, i’ll have a look, give me few min.
-
ok, i’ve seen what is happening, i need to change the script a bit again.
For you…
check if this file exists:
/etc/apt/sources.list.d/kopano-community.list
and check its content, that shows the folder where the packages are expected.$HOME/kopano-repo/ (amd64/i386 )
and one of these.extract all files in $HOME/kopano-repo/amd64 ( or the i386 folder )
cd $HOME/kopano-repo/ apt-ftparchive packages amd64 > amd64/Packages
That should gives the same result.
So basicly its, get all tar.gz and extract them.
Put these in one folder and enable this in apt sources.list somewhere in format :
deb [trusted=yes] file:/$HOME/kopano-repo $ARCH/
or if you need webaccess, symlink (ARCH) it to /var/www/html/ARCH
and use :deb [trusted=yes] http://localhost/ ARCH/
ARCH= or amd64 or i386 ( or the architecture your using arm arm64 armel… )
and run :cd $HOME/kopano-repo/ apt-ftparchive packages amd64 > amd64/Packages apt update && apt-cache policy kopano-core
-
@thctlo said in Update not possible Core 8.7.*:
ok, i’ve seen what is happening, i need to change the script a bit again.
For you…
check if this file exists:
/etc/apt/sources.list.d/kopano-community.list
Yeah there is the error. Its not there. How do I create it correctly. It’s been a while since I manually added a source list.
-
@Drethaldier see post above, i updated it, you when you posted.
-
thank you.
I think it was kopano-server-packages
Thank you.
I’ll give it a try and with the script otherwise.
-
So either I’m to dumb or to tired for this.
in kopano-community.list I now have this line
deb [trusted=yes] file:/$HOME/kopano-repo $amd64/
Both folders exist.
When I do the apt-get update I get this output:Holen:4 file:/$HOME/kopano-repo $amd64/ Translation-de_DE
Ign:4 file:/$HOME/kopano-repo $amd64/ Translation-de_DE
Holen:5 file:/$HOME/kopano-repo $amd64/ Translation-de_DE.utf8
Ign:5 file:/$HOME/kopano-repo $amd64/ Translation-de_DE.utf8
Holen:6 file:/$HOME/kopano-repo $amd64/ Translation-en
Ign:6 file:/$HOME/kopano-repo $amd64/ Translation-en
Holen:7 file:/$HOME/kopano-repo $amd64/ Translation-de
Ign:7 file:/$HOME/kopano-repo $amd64/ Translation-de
Holen:3 file:/$HOME/kopano-repo $amd64/ Packages
Fehl:3 file:/$HOME/kopano-repo $amd64/ Packages
Datei nicht gefunden - /$HOME/kopano-repo/$amd64/Packages (2: Datei oder Verzeichnis nicht gefunden) -
Sorry if i was a bit unclear…
but this :deb [trusted=yes] file:/$HOME/kopano-repo $amd64/
should be noted as :
deb [trusted=yes] file://home/username/kopano-repo amd64/
or any other path you like to use.
you can safely ignore these :
Ign:6 file:/xxxxx Translation-en
all the Translation parts, you can disable that in apt, but not really needed.