Results 1 to 3 of 3

Thread: Empty destination in URI

  1. #1

    Default Empty destination in URI

    I have installed fresh install openSUSE 13.2(KDE).

    Everything works fine. But when I want to install or update anything :

    Code:
    yast -i apache2
    or
    Code:
    zypper in apache2
    or
    Code:
    zypper update
    so on...

    I got following error :
    Code:
    Empty destination in URI: hd:///?device=/dev/disk/by-id/scsi-20001020000060804
    Please tell me what's the problem...

  2. #2

    Default Re: Empty destination in URI

    Quote Originally Posted by kamrava View Post
    I have installed fresh install openSUSE 13.2(KDE).

    Everything works fine. But when I want to install or update anything :

    Code:
    yast -i apache2
    or
    Code:
    zypper in apache2
    or
    Code:
    zypper update
    so on...

    I got following error :
    Code:
    Empty destination in URI: hd:///?device=/dev/disk/by-id/scsi-20001020000060804
    Please tell me what's the problem...
    Disable that local repo, as root run

    Code:
    yast2 repositories
    If you want to check for local repos as a normal user try:

    Code:
    zypper lr -u | awk '$(NF) ~ /cd|dir|hd|usb|iso/ {print $(NF)}'
    If you want to take action ie disable those local repos then you need to be root.


    Note: Requires bash4
    Code:
    mapfile -t local < <(zypper lr -u | awk '$(NF) ~ /cd|dir|hd|usb|iso/ {print $(NF)}' )
    Check the output before you disable the local repos

    Code:
    echo zypper mr -d "${local[@]}"
    If that output looks right to you then you can remove the echo.

    Code:
    zypper mr -d "${local[@]}"
    If you don't have bash4 try this:
    Code:
    local=(); while read -r ; do local+=("$REPLY"); done < <(zypper lr -u | awk '$(NF) ~ /cd|dir|hd|usb|iso/ {print $(NF)}')
    Code:
    echo zypper mr -d "${local[@]}"
    Again remove the echo so zypper can disable those local repos .
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

  3. #3

    Default Re: Empty destination in URI

    On 11/06/2014 03:26 PM, kamrava wrote:
    >
    > I have installed fresh install openSUSE 13.2(KDE).
    >
    > Everything works fine. But when I want to install or update anything :
    >
    >
    > Code:
    > --------------------
    > yast -i apache2
    > --------------------
    >
    > or
    >
    > Code:
    > --------------------
    > zypper in apache2
    > --------------------
    >
    > or
    >
    > Code:
    > --------------------
    > zypper update
    > --------------------
    >
    > so on...
    >
    > I got following error :
    >
    > Code:
    > --------------------
    > Empty destination in URI: hd:///?device=/dev/disk/by-id/scsi-20001020000060804
    > --------------------
    >
    >
    > Please tell me what's the problem...
    >
    >


    It means you installed the system with a DVD in the drive and now it is
    missing. Either put the DVD in the drive or disable the repo.

    Ken

Tags for this Thread

Posting Permissions

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