Ubuntu 20.04의 18.04 저장소에서 Firefox를 사용하는 방법은 무엇입니까?
Jan 02 2021
Ubuntu 18.04의 Firefox에는 글로벌 메뉴 를 활성화하는 특수 패치가 있었으며 이후 버전에서 삭제되었습니다. 이 버전을 20.04에 설치하고 싶습니다. 이를 수행하는 한 가지 방법은 .deb 파일을 가져 와서 sudo apt-mark hold firefox
. 하지만 새 버전이 출시되면 수동으로 업데이트를 적용해야합니다.
apt
18.04 저장소에서 firefox 만 설치 (및 업데이트)하고 다른 모든 소프트웨어는 20.04 저장소에서 설치 하도록 구성하는 방법이 있습니까?
(유니티가 중단되었을 때 글로벌 메뉴 패치가 삭제되었지만 KDE Plasma의 글로벌 메뉴 기능으로 인해 글로벌 메뉴는 매우 살아 있습니다).
답변
7 nobody Jan 02 2021 at 19:06
에서 /etc/apt/sources.list.d/
추가 생체 공학 소스, 그래서 그것을 제거하기 쉬울 것입니다. 이렇게하려면 /etc/apt/sources.list.d/bionic.list
다음 내용으로 파일 을 만듭니다 .
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
창조하다 /etc/apt/preferences.d/bionic.pref
#preference for firefox from bionic
Explanation: Allow installing firefox from bionic
Package: firefox
Pin: release a=bionic-updates
Pin-Priority: 1101
Explanation: Avoid other packages from the bionic repo.
Package: *
Pin: release a=bionic
Pin-Priority: 1
진행
sudo apt update
첫 번째 시뮬레이션, 왜냐하면 일부 ppa가 시스템에 포함되어 있는지 여부는 아닙니다.
apt -s full-upgrade
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be DOWNGRADED:
firefox
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Inst firefox [84.0+build3-0ubuntu0.20.04.1] (84.0+build3-0ubuntu0.18.04.1 Ubuntu:18.04/bionic [amd64])
Conf firefox (84.0+build3-0ubuntu0.18.04.1 Ubuntu:18.04/bionic [amd64])
그런 다음 sudo apt full-upgrade
Ubuntu 18.04에서 firefox를 설치하기 위해 실행하십시오 .