I’m a brand new openSUSE user. I’ve installed 13.1 (32-bit) on an eMachines e525 laptop, in a dual-boot setup with Linux Mint 16.
When I try to update the system, I get the following error message:
Empty destination in URI: hd:///?device=/dev/disk/by-id/scsi-1USB_DISK_2.0
I tried putting in the installation USB (full DVD iso), but that did not help, so I rebooted and tried again, but still got the same error message.
(Some context: after installation, updates were installing fine, but unfortunately I had to go to work, so I shut down the machine as there were 124 updates. I’ve now started up the machine after coming home and come into this problem.)
I updated the system using YaST instead, following the instructions under “Updating and installing the packages” in this post; the updates went successfully.
On principle, you can not update from the DVD or an image of it.
Period.
That just doesn’t make sense, because the updates are always published after the image of the installer DVD.
These updates are meant to correct/fix bugs of the original system (i.e. the system installed from e.g. the DVD) !
As an end user, you usually can get updates only through internet, from specific directories on opensuse.org -
or mirrors of that.
If your openSUSE installed fine, then YaST will usually know the right URLs.
So that probably is the reason that it worked for you now.
I’m guessing that he wasn’t really trying to do that. Rather, the DVD-image was on his list of configured repos, so when he started Yast, it complained about the problem with it. Presumably, he disabled that repo, and then it worked. Or maybe he just told Yast to go ahead and skip the refresh for that repo.
On principle, you can not update from the DVD or an image of it.
Period.
That just doesn’t make sense, because the updates are always published
after the image of the installer DVD.
These updates are meant to correct/fix bugs of the original system (i.e.
the system installed from e.g. the DVD) !
As an end user, you usually can get updates only through internet, from
specific directories on opensuse.org -
or mirrors of that.
If your openSUSE installed fine, then YaST will usually know the right
URLs.
So that probably is the reason that it worked for you now.
Hope you enjoy openSUSE !
Good luck
Mike
Hi
Just to clarify, you can download the updates manually and use YaST add
on product to create an add on dvd with the updates and provide this
during the install. A good use for a limited bandwith situation and
multiple machines to install it on… Likewise creating a local mirror
will work.
The other option would be to use SUSE Studio to create a DVD install,
this will add the update repositories and provide the latest packages
on the install DVD… a respin in effect…
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.2 Kernel 3.11.10-7-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Couldn’t that come about if he had gone in to Yast => Software Repositories, added a couple repositories, saw the DVD line unchecked for Refresh and checked it?
Then, when trying to Automatically Refresh that repository, it would give such an error, because the DVD isn’t in the drive.
I’m thinking that something along that lines – perhaps something slightly different, but similar – might have been taking place.
When I write the DVD image to a USB, and use that for install, the resulting installed system usually has the DVD-image-on-USB listed as an active repo (enabled and to be auto-refreshed). I have to manually disable it, if I don’t want to keep the USB plugged any whenever I make software changes.
On 02/14/2014 05:46 PM, ratzi wrote:
>
> nrickert;2624845 Wrote:
>> A DVD is usually considered a read-only device. A USB is considered to
>> be like a hard drive, so a read-write device.
>
> Hi nrickert!
>
> So the aim of designing it that way may have been to ease the use of
> local repositories ?
Are you sure it wasn’t that the system tries to provide mount points for all the
disk drives on the system? I have noticed that the installer sometimes tries to
install to the USB device when installing from the Live medium.
Note: I almost never accept the partition arrangement that the installer suggests.
It does not add the USB device to “fstab”, at least in my experience. It is not automatically mounted. But it is added to the repo list, in the format shown in the first post of this thread (but with an actual usb device identifier). And it is marked as enabled and set for auto-refresh. I disable it after install.
> Hmmm, this kind of behaviour of openSUSE (13.1 only?) is a bit strange.
>
> I installed a considerable number of openSUSE versions from DVD and I
> never came across that kind of problem.
>
> It just doesn’t make sense that the source of the installation - e.g. a
> DVD, or similarly an image of that on an USB stick -
> should be auto-refreshed.
It is not strange at all, and it is not a bug.
This is the default config for the install usb stick:
> # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
> ---+----------------------------+------------------------------------+---------+---------+----------+----------+-----------------------------------------------------------------------------------+--------
> 8 | openSUSE-13.1-1.10 | openSUSE-13.1-1.10 | Yes | Yes | 99 | yast2 | hd:///?device=/dev/disk/by-id/scsi-1USB_DISK_2.0-part2 |
As you see, it is enabled, and refresh is also active. Zypper/yast has
no option but try to refresh it every time. It stops, ask you to skip or
plug the device, and then it continues. I probably does not really
refresh, just checks the date of the files first.
Why did the devs choose this particular setting? I don’t know, but I’m
sure it is intentional. I don’t remember for sure the setting on
previous releases about “refresh”, but I do know that the dvd/usb is
always “enabled” after install. Has been that way for ever.
I’m just guessing that a decision on the install repo is being based on the media used, rather than on the fact that it is install media.[/QUOTE]
Yes, guessing, that’s the approach that I frequently take as well.
However, in this particular case, not to base the behaviour of the installed openSUSE on the readily available information (during install) which media had been the install media, is a bug, I would still say.
[quote="“nrickert,post:16,topic:98141”]
It does not add the USB device to “fstab”, at least in my experience. It is not automatically mounted. But it is added to the repo list, in the format shown in the first post of this thread (but with an actual usb device identifier). And it is marked as enabled and set for auto-refresh. I disable it after install.[/QUOTE]
It is the behaviour with respect to the repo list which causes new problems.
[quote="“nrickert,post:16,topic:98141”]
The same here.[/QUOTE]
And the same here.
This isn’t new, but there probably is a number of openSUSE users out there which accepted the partition arrangement that the installer suggested.
If they still use openSUSE, then it seems that it worked for them.
I hadn’t realised the installation USB was added automatically as a repository— I was perplexed as to why I had to have it inserted every time I installed or updated software.
(For some reason, the automatic updater (not sure what it’s called) couldn’t see the USB which I had unplugged and then plugged back in, but YaST could. That’s why I had to use YaST that time rather than letting the automatic updates run.)
I’ve disabled the USB repository in YaST now and the problem is solved.