thoi
2017-07-05 16:51 deepin
Edited by thoi at 2017-7-5 08:57
I followed the same choosing option 2.2 and when I try to update/upgrade deepin-version VLC(2.2.4) to debian-sid version 2.2.6 using the command sudo apt-get -t sid install vlc, it tries to remove deepin software saying
"The following packages will be REMOVED:
dde dde-desktop dde-disk-mount-plugin dde-file-manager dde-qt5integration dde-trash-plugin deepin-movie libdde-file-manager qml-module-qtav"
So, now I am confused how to update/upgrade the VLC.....or may be other softwares........
Note: When executing the command apt-cache policy, I got this result without Debian priority, as mentioned in the discussion(like debian priority is 500).
Package files:
100 /var/lib/dpkg/status
release a=now
990 http://packages.deepin.com/deepin panda/main i386 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=main,b=i386
origin packages.deepin.com
990 http://packages.deepin.com/deepin panda/main amd64 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=main,b=amd64
origin packages.deepin.com
990 http://packages.deepin.com/deepin panda/contrib i386 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=contrib,b=i386
origin packages.deepin.com
990 http://packages.deepin.com/deepin panda/contrib amd64 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=contrib,b=amd64
origin packages.deepin.com
990 http://packages.deepin.com/deepin panda/non-free i386 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=non-free,b=i386
origin packages.deepin.com
990 http://packages.deepin.com/deepin panda/non-free amd64 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=non-free,b=amd64
origin packages.deepin.com
Pinned packages:
I followed the same choosing option 2.2 and when I try to update/upgrade deepin-version VLC(2.2.4) to debian-sid version 2.2.6 using the command sudo apt-get -t sid install vlc, it tries to remove deepin software saying
"The following packages will be REMOVED:
dde dde-desktop dde-disk-mount-plugin dde-file-manager dde-qt5integration dde-trash-plugin deepin-movie libdde-file-manager qml-module-qtav"
So, now I am confused how to update/upgrade the VLC.....or may be other softwares........
Note: When executing the command apt-cache policy, I got this result without Debian priority, as mentioned in the discussion(like debian priority is 500).
Package files:
100 /var/lib/dpkg/status
release a=now
990 http://packages.deepin.com/deepin panda/main i386 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=main,b=i386
origin packages.deepin.com
990 http://packages.deepin.com/deepin panda/main amd64 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=main,b=amd64
origin packages.deepin.com
990 http://packages.deepin.com/deepin panda/contrib i386 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=contrib,b=i386
origin packages.deepin.com
990 http://packages.deepin.com/deepin panda/contrib amd64 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=contrib,b=amd64
origin packages.deepin.com
990 http://packages.deepin.com/deepin panda/non-free i386 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=non-free,b=i386
origin packages.deepin.com
990 http://packages.deepin.com/deepin panda/non-free amd64 Packages
release v=2015,o=Linux Deepin,a=panda,n=unstable,l=Deepin,c=non-free,b=amd64
origin packages.deepin.com
Pinned packages:
Reply Like 0 View the author
Deepin 15.x is based of Debian Sid (unstable), that means it uses Debian as a base system and is developed on top of it. It also means we may use/install Debian original packages with a reasonable assurance of compatibility with the Deepin system/desktop packages. The best way to do it is to setup APT to use the original Debian repositories simultaneously with Depin repository, while maintaining Deepin's packages with default higher priority. Debian APT makes this easy with APT settings or package pinning.
Why? Imagine you want to install an updated version of a package/application that has its version frozen in Deepin repository. In example, at the time of this writing, there is a newer version of libreoffice available in Debian Sid:
Disclaimer: ⚠ Danger: Use this procedure at your own risk. Recommended only for advanced users. Valid only for Deepin 15.x release. Although installing Debian original packages guarantees a very high compatibility with Deepin (Debian based) packages, there is a potencial risk for breakage. You may compromise your system by installing other packages than those from Deepin repository. This procedure has worked for me but it may fail for you. Be sure to follow the following steps completely and verify that it's working before trying to install packages or upgrade your system. If you do not accept the risk do not try it. You have been warned.
Disclaimer #2: ⚠ Warning: Currently there are issues with upgrades if the Deepin source list was not updated succcessfully (failed attempts/bad connections/bad CDN mechanism). Also from Control Center issued updates. It will result in undesired package upgrades from Debian which may compromise your system stability. If you wish to procede and use this how to you are advised to totally refrain from using Control Center Updates (stop using it completely) and always update from the command line and check the successful source list update and policy update before any install/upgrade. View more information at https://bbs.deepin.org/post/30778.
1. Add Debian Official repositories source list:
Create the file /etc/apt/sources.list.d/debian.list
2. Setup either APT Default-Release or APT package pinning:
Either option will work, the first option should work until the end of life of 'Deepin 15.x' (release version 2015), the second will work indefinitely (while Deepin maintains the same package/repository origin name 'Linux Deepin'). Choose either 2.1 or 2.2 option procedure, not both:
2.1. (Option) APT Default-Release:
Create the file /etc/apt/apt.conf.d/90deepin
2.2. (Option) APT Package Pinning:
Create the file /etc/apt/preferences
3. Test APT package policy:
You should always test if your APT settings are taking effect in the APT policy, at any time. Always update APT first, then check policy, then install or upgrade packages (if you wish). You should get a priority value of 990 for Deepin repository packages and priority 500 for Debian repository. This means that, by default, only Deepin packages will be installed or upgraded.
4. Install Deepin packages:
To install any packages from the Deepin repository you don't have to anything different. Either from Deepin Store, Synaptic or using the command line, in example:
5. Install (or upgrade to) Debian packages:
You may now upgrade a currently installed or install a new package. All needed newer version dependencies, if required, will also be installed from Debian repository. Use:
That's it. Always update and verify your APT policy first, then install or upgrade from the command line. The use of Control Center System Updates is not recommended! Have fun! :-)