Find the answer to your Linux question:
Results 1 to 4 of 4
i am using Suse 10.1 I tried to set the repositories of smart but it did not worked. I have made some changes in smart config to set the proxy ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    25

    smart package manager problem

    i am using Suse 10.1
    I tried to set the repositories of smart but it did not worked. I have made some changes in smart config to set the proxy by command

    smart config --set ftp-proxy=192.168.100.13:8080<some url>
    smart config --set http-proxy=192.168.100.13:8080

    after that i have tried smart update. it gives me following error

    linux-velocity:/home/gardezi # smart update
    Loading cache...
    Updating cache... ################################################## ########################## [100%]

    Fetching information for 'SUSE Linux extra proprietary packages'...
    -> http://ftp.belnet.be/mirrors/ftp.sus.../media.1/media
    Unhandled exception in thread started by <bound method URLLIBHandler.fetch of <smart.fetcher.URLLIBHandler object at 0xb70eff2c>> ( 0%)
    Traceback (most recent call last):
    File "/usr/lib/python2.4/site-packages/smart/fetcher.py", line 1174, in fetch
    remote = opener.open(url.original)
    File "/usr/lib/python2.4/urllib.py", line 175, in open
    name = 'open_' + urltype
    TypeError: cannot concatenate 'str' and 'NoneType' objects

    every time i tried to update the smart it gives me the same error so i decided to uninstall it. After i install it again error remains the same. any one have some idea to fix this error or to set all setting default.

  2. #2
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    Quote Originally Posted by javedkarim
    every time i tried to update the smart it gives me the same error so i decided to uninstall it. After i install it again error remains the same. any one have some idea to fix this error or to set all setting default.
    Follow the instructions closely on this site and you'll have Smart working perfectly
    Pete

  3. #3
    Linux Engineer oldcpu's Avatar
    Join Date
    Aug 2005
    Location
    Europe
    Posts
    1,142

    simply uninstalling does not always remove the config files in Linux

    Quote Originally Posted by javedkarim
    every time i tried to update the smart it gives me the same error so i decided to uninstall it. After i install it again error remains the same. any one have some idea to fix this error or to set all setting default.
    Uninstalling an app in Linux, to remove some setting, does not work, if you do not remove the configuration files at the same time. If you are not familiar with an app, then it is often a good idea to search for the configuration files. Using the application's name, is often a good item to use, when formulating your search criteria.

    In the case of Smart, I think the configuration files are located somewhere under /var/lib/smart, or something like that. Search, and you will find the config files.

  4. #4
    Just Joined!
    Join Date
    Nov 2006
    Posts
    25
    In the case of Smart, I think the configuration files are located somewhere under /var/lib/smart, or something like that. Search, and you will find the config files.
    Thanks dude it has solved my problem and smart is working fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...