warp icon indicating copy to clipboard operation
warp copied to clipboard

Update not fully installed Ubuntu 24

Open Ammar-kutubee opened this issue 2 years ago • 10 comments

Dupe Check

Describe the bug

when i press on update warp, it reopens and still update warp button showing, keep pressing repeats the issue.

To reproduce

click on Update warp ... wait (relaunching...)... update button still shows.

Expected behavior

the update button should disapear after updating. also pressing Relaunch Warp button from settings , isnot helping.

Screenshots

Screenshot from 2024-05-26 07-41-21

Operating system

Linux

Operating system and version

Ubuntu 24

Shell Version

zsh 5.9 (x86_64-ubuntu-linux-gnu)

Current Warp version

v0.2024.05.14.08.01.stable_04

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Ammar-kutubee avatar May 26 '24 04:05 Ammar-kutubee

I believe thefuck module is the cause of this:

image

krillavilla avatar May 29 '24 08:05 krillavilla

I believe thefuck module is the cause of this:

image

The bug description doesn´t mention thefuck module. I don´t have it and I'm experiencing the same behavior.

Every time I use the "Update Warp" button, the warp_finish_update shows a different token.

sudo apt update && sudo apt install warp-terminal && warp_finish_update ${Different_every_time}

Removing the warp_finish_update, the apt command returns that I already have the latest version. But it is different from what the "Update Warp" button shows.

At this moment:

  • The button shows

    • Current Version: v0.2024.05.07.08.02.stable_02
    • Install Update: v0.2024.05.28.08.02.stable_00
  • The apt-get install shows the version that I have installed as: 0.2024.05.07.08.02.stable.02

In my opinion, the version source used for the "Update Warp" button is not in sync with the package manager (apt).

jmarcon avatar May 31 '24 14:05 jmarcon

Hey @Ammar-kutubee Sorry about this, try the following.

  • refresh apt repository for Warp and attempt to update
sudo apt-get install wget gpg
wget -qO- https://releases.warp.dev/linux/keys/warp.asc | gpg --dearmor > warpdotdev.gpg
sudo install -D -o root -g root -m 644 warpdotdev.gpg /etc/apt/keyrings/warpdotdev.gpg
sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/warpdotdev.gpg] https://releases.warp.dev/linux/deb stable main" > /etc/apt/sources.list.d/warpdotdev.list'
rm warpdotdev.gpg
sudo apt update && sudo apt install warp-terminal

@jmarcon if the versions are different there is a chance the delay in updating the apt repo is the cause of this issue. I'll let the team know and we'll look into this.

dannyneira avatar May 31 '24 23:05 dannyneira

Hey @Ammar-kutubee Sorry about this, try the following.

  • refresh apt repository for Warp and attempt to update
sudo apt-get install wget gpg
wget -qO- https://releases.warp.dev/linux/keys/warp.asc | gpg --dearmor > warpdotdev.gpg
sudo install -D -o root -g root -m 644 warpdotdev.gpg /etc/apt/keyrings/warpdotdev.gpg
sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/warpdotdev.gpg] https://releases.warp.dev/linux/deb stable main" > /etc/apt/sources.list.d/warpdotdev.list'
rm warpdotdev.gpg
sudo apt update && sudo apt install warp-terminal

@jmarcon if the versions are different there is a chance the delay in updating the apt repo is the cause of this issue. I'll let the team know and we'll look into this.

it worked sir thanks

Ammar-kutubee avatar Jun 02 '24 04:06 Ammar-kutubee

I believe thefuck module is the cause of this:

image

i dont have that module unfortunately

Ammar-kutubee avatar Jun 02 '24 04:06 Ammar-kutubee

Thanks for letting us know @Ammar-kutubee

If this happens again, please run the update steps, omitting the warp_finish_update $(random_character) part, and provide screenshots of any errors you see when trying to upgrade.

dannyneira avatar Jun 03 '24 15:06 dannyneira

Hey Folks, by any chance did you recently update Ubuntu to version 24 (from v23.1 or older)? I suspect this issue is related to Ubuntu updates not carrying over the Warp repository since the workaround seems to be manually adding the repository again.

dannyneira avatar Aug 02 '24 21:08 dannyneira

its was ubnutu version 23 ...yes i solved the issue by uninstalling and reinstalling the warp app

Ammar-kutubee avatar Aug 14 '24 07:08 Ammar-kutubee

We're tracking this particular issue here. https://github.com/warpdotdev/Warp/issues/5201

I'll close this as a duplicate, but please let me know if the issue persists after you add the repo with the command above.

dannyneira avatar Aug 14 '24 22:08 dannyneira

Hey @Ammar-kutubee Sorry about this, try the following.

  • refresh apt repository for Warp and attempt to update
sudo apt-get install wget gpg
wget -qO- https://releases.warp.dev/linux/keys/warp.asc | gpg --dearmor > warpdotdev.gpg
sudo install -D -o root -g root -m 644 warpdotdev.gpg /etc/apt/keyrings/warpdotdev.gpg
sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/warpdotdev.gpg] https://releases.warp.dev/linux/deb stable main" > /etc/apt/sources.list.d/warpdotdev.list'
rm warpdotdev.gpg
sudo apt update && sudo apt install warp-terminal

@jmarcon if the versions are different there is a chance the delay in updating the apt repo is the cause of this issue. I'll let the team know and we'll look into this.

Thank you sir you solved my problem, that solution was so perfect and precise

Kaneki-Ken993 avatar Dec 09 '24 09:12 Kaneki-Ken993