Public bug reported:
'apt remove virtualenvwrapper' leaves behind a bash-completion file at:
/etc/bash_completion.d/virtualenvwrapper.
Since file gets sourced in upon login, it results in an error after the
package has been removed:
bash: /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh: No such
file or directory
Steps to reproduce:
1. apt install virtualenvwrapper
2. Verify /etc/bash_completion.d/virtualenvwrapper was created
3. apt remove virtualenvwrapper
4. Verify /etc/bash_completion.d/virtualenvwrapper is still there
5. Start a login shell
Expected: No error in new shell
Actual: Error message about virtualenvwrapper_lazy.sh
Release: Ubuntu Artful Aardvark (development branch)
virtualenvwrapper:
Installed: (none)
Candidate: 4.3.1-2
Version table:
4.3.1-2 500
500 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu artful/universe i386 Packages
100 /var/lib/dpkg/status
** Affects: virtualenvwrapper (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1688604
Title:
remove package does not remove bash-completion file
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualenvwrapper/+bug/1688604/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs