smartpm / smart

Smart Package Manager
http://smartpm.github.io/smart/
GNU General Public License v2.0
32 stars 16 forks source link

smart --gui : error: Can't create datadir at /var/lib/smart/ #14

Open diassynthesis opened 6 years ago

diassynthesis commented 6 years ago

same issue with smart2

After install with: python setup.py build & python setup.py install

i get the following error: Can't create datadir at /var/lib/smart/

openerp@ubuntu:~$ smart --gui error: Can't create datadir at /var/lib/smart/,
openerp@ubuntu:~$ openerp@ubuntu:~$ smart --version smart 1.5
openerp@ubuntu:~$ smart --shell error: Can't create datadir at /var/lib/smart/

openerp@ubuntu:~$ uname -a Linux ubuntu 3.13.0-45-generic #74~precise1-Ubuntu SMP Thu Jan 15 20:22:28 UTC 2015 i686 athlon i386 GNU/Linux

can you help I really need a tool to replace Synaptic PM.

zhengrq-fnst commented 6 years ago

Do you want to manage your local host rpm? If so, please use sudo to do this operation, as no-root user has no write access to /var/lib/smart/. Please have a try.