ppa-purge (-i 포함 / 제외)를 사용하면 100 개가 넘는 패키지를 제거 할 수 있습니다. 표준 우분투 저장소에서 사용할 수 있다고 확신합니다.


10

나는 얼마 전에 kxstudio ppa를 어리석게 추가했습니다. 몇 달 동안 모든 것이 좋아 보였고, 문제가 나타나기 시작한 이래로 고통 스러웠습니다. 나는 몇 가지 버그 보고서를 제출했으며 대부분 kxstudio '업그레이드'패키지로 인한 것임을 발견하기 위해 많은 시간을 낭비했습니다. 이제 ppa 및 패키지에 의해 설치된 모든 패키지를 제거하고 싶습니다. 이전에 없었던 패키지를 제거하거나 우분투 저장소에있는 경우 사용 가능한 다른 버전으로 되돌립니다.

-i 스위치를 사용하거나 사용하지 않고 ppa-purge를 사용했으며 다음과 같은 것을 얻습니다.

sudo ppa-purge -i kxstudio-team
Updating packages lists
PPA to be removed: kxstudio-team ppa
comm: file 2 is not in sorted order
Package revert list generated:
 alsa-tools-gui/oneiric ardour/oneiric audacious/oneiric ffmpeg/oneiric 
gstreamer0.10-plugins-bad-multiverse/oneiric 
gstreamer0.10-plugins-bad-multiverse-dbg/oneiric ia32-libs/oneiric 
jackd/oneiric jackd1/oneiric jackd2/oneiric jackd2-firewire/oneiric 
libaudclient2/oneiric libaudcore1/oneiric libavcodec52/oneiric 
libavcodec53/oneiric libavcodec-dev/oneiric libavcodec-extra-53/oneiric 
libavdevice53/oneiric libavfilter2/oneiric libavformat52/oneiric 
libavformat53/oneiric libavformat-dev/oneiric libavformat-extra-53/oneiric 
libavutil50/oneiric libavutil51/oneiric libavutil-dev/oneiric 
libavutil-extra-51/oneiric libclucene0ldbl/oneiric libffado2/oneiric 
libflowcanvas5/oneiric libjack0/oneiric libjack-jackd2-0/oneiric 
libmlt++3/oneiric libmlt4/oneiric libmowgli2/oneiric libpostproc51/oneiric 
libpostproc52/oneiric libquicktime2/oneiric libswscale0/oneiric 
libswscale2/oneiric libswscale-dev/oneiric lmms/oneiric lmms-common/oneiric 
lmms-vst/oneiric mplayer/oneiric muse/oneiric wine1.2/oneiric wine1.3/oneiric 
zynaddsubfx/oneiric

Disabling kxstudio-team PPA from 
/etc/apt/sources.list.d/kxstudio-team-ppa-oneiric.list
Updating packages lists
Unable to find an archive "oneiric" for the package "libavcodec52"
Unable to find an archive "oneiric" for the package "libavformat52"
Unable to find an archive "oneiric" for the package "libavutil50"
Unable to find an archive "oneiric" for the package "libpostproc51"
Unable to find an archive "oneiric" for the package "libswscale0"
Unable to find an archive "oneiric" for the package "lmms-vst"
Unable to find an archive "oneiric" for the package "libavcodec52"
Unable to find an archive "oneiric" for the package "libavformat52"
Unable to find an archive "oneiric" for the package "libavutil50"
Unable to find an archive "oneiric" for the package "libpostproc51"
Unable to find an archive "oneiric" for the package "libswscale0"
Unable to find an archive "oneiric" for the package "lmms-vst"
The following packages will be DOWNGRADED:
  ffmpeg gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad-multiverse-dbg jackd2{b} jackd2-firewire{b} libavcodec-dev libavcodec-extra-53{b} libavdevice53 libavfilter2 libavformat-dev libavformat-extra-53{b} libavutil-dev 
  libavutil-extra-51{b} libjack-jackd2-0{b} libpostproc52 libswscale-dev libswscale2 lmms lmms-common wine1.3{b} 
The following NEW packages will be installed:
  ardour audacious audacious-plugins{a} cmt{a} gtk2-engines-pixbuf{a} jackd1{b} jackd1-firewire{ab} libaubio2{a} libaudclient2 libaudcore1 libavcodec53 libavformat53 libavutil51 libbinio1ldbl{a} libbs2b0{a} libcue1{a} libguess1{a} 
  libjack0{b} liblrdf0{a} libmlt++3 libmlt-data{a} libmlt4 libmowgli2 libqt3-mt{a} libresid-builder0c2a{a} libsidplay2{a} libsox-fmt-alsa{a} libsox-fmt-base{a} libsox1b{a} libvamp-sdk2{a} muse python-pyasn1{a} python-twisted{a} 
  python-twisted-conch{a} python-twisted-lore{a} python-twisted-mail{a} python-twisted-news{a} python-twisted-runner{a} python-twisted-words{a} wine1.2 
The following packages will be REMOVED:
  lmms-vst{u} 
0 packages upgraded, 40 newly installed, 20 downgraded, 1 to remove and 5 not upgraded.
Need to get 100 MB/101 MB of archives. After unpacking 292 MB will be used.
The following packages have unmet dependencies:
  jackd2-firewire: Conflicts: jackd-firewire which is a virtual package.
  libavformat-extra-53: Conflicts: libavformat53 but 4:0.7.2-1ubuntu1 is to be installed.
  jackd1-firewire: Conflicts: jackd-firewire which is a virtual package.
  wine1.3: Conflicts: wine1.2 but 1.2.3-0ubuntu1 is to be installed.
  libjack0: Conflicts: libjack-0.116 which is a virtual package.
  libavutil-extra-51: Conflicts: libavutil51 but 4:0.7.2-1ubuntu1 is to be installed.
  libjack-jackd2-0: Conflicts: libjack-0.116 which is a virtual package.
                    Conflicts: libjack0 but 1:0.121.0+svn4469-2ubuntu2 is to be installed.
  jackd1: Conflicts: jack-daemon which is a virtual package.
  jackd2: Conflicts: jack-daemon which is a virtual package.
  libavcodec-extra-53: Conflicts: libavcodec53 but 4:0.7.2-1ubuntu1 is to be installed.
open: 195; closed: 1177; defer: 78; conflict: 276                                                                                                                                                                                                 oThe following actions will resolve these dependencies:

       Remove the following packages:                                   
1)       acroread                                                       
2)       ia32-libs-multiarch                                            
3)       libacl1                                                        
4)       libatk1.0-0                                                    
5)       libattr1                                                       
6)       libaudio2                                                      
7)       libavahi-client3                                               
8)       libavahi-common3                                               
9)       libc6                                                          
10)      libcairo2                                                      
11)      libcomerr2                                                     
12)      libcups2                                                       
13)      libcupsimage2                                                  
14)      libcurl3                                                       
15)      libdatrie1                                                     
16)      libdb5.1                                                       
17)      libdbus-1-3                                                    
18)      libdrm-intel1                                                  
19)      libdrm-nouveau1a                                               
20)      libdrm-radeon1                                                 
21)      libdrm2                                                        
22)      libexpat1                                                      
23)      libffi6                                                        
24)      libfontconfig1                                                 
25)      libfreetype6                                                   
26)      libgcc1                                                        
27)      libgcrypt11                                                    
28)      libgdbm3                                                       
29)      libgdk-pixbuf2.0-0                                             
30)      libgl1-mesa-dri                                                
31)      libgl1-mesa-glx                                                
32)      libglapi-mesa                                                  
33)      libglib2.0-0                                                   
34)      libgnutls26                                                    
35)      libgpg-error0                                                  
36)      libgssapi-krb5-2                                               
37)      libgtk2.0-0                                                    
38)      libice6                                                        
39)      libidn11                                                       
40)      libjasper1                                                     
41)      libjpeg62                                                      
42)      libk5crypto3                                                   
43)      libkeyutils1                                                   
44)      libkrb5-3                                                      
45)      libkrb5support0                                                
46)      liblcms1                                                       
47)      libldap-2.4-2                                                  
48)      libllvm2.9                                                     
49)      libmng1                                                        
50)      libnspr4                                                       
51)      libnss3                                                        
52)      libpango1.0-0                                                  
53)      libpciaccess0                                                  
54)      libpcre3                                                       
55)      libpixman-1-0                                                  
56)      libpng12-0                                                     
57)      libqt4-dbus                                                    
58)      libqt4-declarative                                             
59)      libqt4-designer                                                
60)      libqt4-network                                                 
61)      libqt4-opengl                                                  
62)      libqt4-qt3support                                              
63)      libqt4-script                                                  
64)      libqt4-scripttools                                             
65)      libqt4-sql                                                     
66)      libqt4-svg                                                     
67)      libqt4-test                                                    
68)      libqt4-xml                                                     
69)      libqt4-xmlpatterns                                             
70)      libqtcore4                                                     
71)      libqtgui4                                                      
72)      librtmp0                                                       
73)      libsasl2-2                                                     
74)      libsasl2-modules                                               
75)      libselinux1                                                    
76)      libsm6                                                         
77)      libsqlite3-0                                                   
78)      libssl1.0.0                                                    
79)      libstdc++6                                                     
80)      libtasn1-3                                                     
81)      libthai0                                                       
82)      libtiff4                                                       
83)      libuuid1                                                       
84)      libx11-6                                                       
85)      libxau6                                                        
86)      libxcb-render0                                                 
87)      libxcb-shm0                                                    
88)      libxcb1                                                        
89)      libxcomposite1                                                 
90)      libxcursor1                                                    
91)      libxdamage1                                                    
92)      libxdmcp6                                                      
93)      libxext6                                                       
94)      libxfixes3                                                     
95)      libxft2                                                        
96)      libxi6                                                         
97)      libxinerama1                                                   
98)      libxrandr2                                                     
99)      libxrender1                                                    
100)     libxss1                                                        
101)     libxt6                                                         
102)     libxxf86vm1                                                    
103)     nspluginviewer                                                 
104)     nspluginwrapper                                                
105)     wine1.3                                                        
106)     zlib1g                                                         

       Keep the following packages at their current version:            
107)     jackd1 [Not Installed]                                         
108)     jackd1-firewire [Not Installed]                                
109)     libavcodec53 [Not Installed]                                   
110)     libavformat53 [Not Installed]                                  
111)     libavutil51 [Not Installed]                                    
112)     libjack0 [Not Installed]                                       

       Leave the following dependencies unresolved:                     
113)     ia32-libs recommends ia32-libs-multiarch                       
114)     wine1.3-gecko recommends wine1.3                               
115)     libgl1-mesa-glx recommends libgl1-mesa-dri (>= 7.2)            
116)     libqt4-dbus recommends qdbus (= 4:4.8.1-0ubuntu2~oneiric1~ppa2)
117)     libqtgui4 recommends libcups2                                  


Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.

나는 그 패키지 중 일부가 매우 중요하다는 것을 확신합니다. 왜 패키지를 제거 해야하는지 이해하지 못합니다. 다른 의존성 해결 제안은 더 많은 패키지를 제거합니다!

누구든지 이것에 대해 약간의 빛을 비출 수 있습니까?

답변:


4

먼저 다음 명령을 사용하여 ppa를 수동으로 삭제하십시오.

sudo rm /etc/apt/sources.list.d/kxstudio*

이제 "apt-pinning"을 사용하여 패키지 버전 번호에 관계없이 현재 배포판에 우선 순위를 부여하십시오. 먼저 파일을 작성하십시오.

sudo nano /etc/apt/preferences

"trusty"를 현재 우분투 버전으로 대체하여 다음을 파일에 복사 / 붙여 넣기하십시오.

Package: *
Pin: release a=trusty*
Pin-Priority: 1001

를 눌러 CTRL+ O다음 Enter 키를 눌러 ENTER파일를 눌러 저장 CTRL+ X종료합니다.

이제 특정 kxstudio 패키지를 제거하십시오.

sudo apt-get purge kxstudio-artwork kxstudio-default-settings kxstudio-desktop kxstudio-desktop-kde4 kxstudio-welcome

그런 다음 다운 그레이드를 적용하려면 다음을 수행하십시오.

sudo apt-get update
sudo apt-get dist-upgrade

소스에서 수정 : http://ispire.me/downgrade-from-debian-sid-to-stable-from-jessie-to-wheezy/


0

Ubuntu 리포지토리에서 사용할 수 있지만 설치 한 PPA의 최신 버전 또는 설치된 버전이있을 수 있습니다. 영향을받는 패키지를 확인하고 Ubuntu 소스에서 다시 설치할 수 있습니다.

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.