dskvr / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

--autoremove doesn't remove orphaned recommended packages #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create package A which recommends B.
2. Create package B.
3. Install A.
4. Remove A with --autoremove 

What is the expected output? What do you see instead?

Expect B to be removed with A. Instead only A is removed.
grg@eye7:~/opkg/code/svn/src$ ./opkg-cl -o /tmp/opkg install A     
Installing A (1.0-r0) to root...
Downloading file:/tmp/ipk/A-1.0-r0_all.ipk.
Installing B (1.0-r0) to root...
Downloading file:/tmp/ipk/B-1.0-r0_all.ipk.
Configuring B.
Configuring A.
grg@eye7:~/opkg/code/svn/src$ ./opkg-cl -o /tmp/opkg list_installed
A - 1.0-r0
B - 1.0-r0
grg@eye7:~/opkg/code/svn/src$ ./opkg-cl -o /tmp/opkg --autoremove remove A
Removing package A from root...
grg@eye7:~/opkg/code/svn/src$ ./opkg-cl -o /tmp/opkg list_installed
B - 1.0-r0

Original issue reported on code.google.com by graham.g...@gmail.com on 18 Aug 2010 at 4:01

GoogleCodeExporter commented 8 years ago
Fixed with r555/r556. 

Original comment by graham.g...@gmail.com on 19 Aug 2010 at 1:55